Files
linux/net
Vladimir Oltean 39e222bfd7 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 <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20211012123735.2545742-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-10-13 13:36:01 -07:00
..
2021-09-05 08:36:44 +09:00
2021-10-13 09:40:46 -07:00
2021-10-09 11:55:01 +01:00
2021-10-13 09:40:45 -07:00
2021-08-05 13:27:50 +01:00
2021-10-13 09:41:37 -07:00
2021-10-13 09:41:37 -07:00
2021-06-29 11:28:21 -07:00
2021-05-26 07:03:39 +02:00
2021-10-13 09:40:46 -07:00
2021-10-03 14:35:41 +01:00
2021-10-13 09:40:45 -07:00
2021-10-13 09:40:45 -07:00
2021-10-13 09:40:46 -07:00
2021-09-28 13:26:23 +01:00
2021-06-03 15:13:56 -07:00
2021-07-29 15:06:49 +01:00