diff options
| author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2026-06-29 14:22:58 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-07-01 17:59:44 +0200 |
| commit | 0cf0b8ac40aef39e3e9c172944c043a7209362ce (patch) | |
| tree | d229f825c0d154950167c8b704425404b8a70c77 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 97cb4ae7511bd1ddaaca743bb3b6bcc53ea4e52a (diff) | |
dpaa2-switch: avoid holding rtnl_lock in dpaa2_switch_event_work()
The only reason why the rtnl_lock is held in the
dpaa2_switch_event_work() is so that there is no concurency between the
changeupper notifier which manages the per port FDB assignment and the
workqueue which adds / deletes addresses into that forwarding database.
To avoid this kind of concurency without a rtnl_lock, flush the event
workqueue as the last step from the pre_bridge_leave so that any
in-flight operations targeting the current FDB are finalized before the
bridge layout (and the per port FDB assignment) changes.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://patch.msgid.link/20260629112309.154328-3-ioana.ciornei@nxp.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
