diff options
author | Vladimir Oltean <[email protected]> | 2021-10-12 15:37:35 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-10-13 13:36:01 -0700 |
commit | 39e222bfd7f37e7a98069869375b903d7096c113 (patch) | |
tree | ed4ec9312ba839d2f3cba88664260bfb7639f56f /tools/perf/scripts/python/check-perf-trace.py | |
parent | 6312d52838b21f5c4a5afa1269a00df4364fd354 (diff) |
net: dsa: unregister cross-chip notifier after ds->ops->teardown
To be symmetric with the error unwind path of dsa_switch_setup(), call
dsa_switch_unregister_notifier() after ds->ops->teardown.
The implication is that ds->ops->teardown cannot emit cross-chip
notifiers. For example, currently the dsa_tag_8021q_unregister() call
from sja1105_teardown() does not propagate to the entire tree due to
this reason. However I cannot find an actual issue caused by this,
observed using code inspection.
Signed-off-by: Vladimir Oltean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions