aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2023-02-06 10:41:51 +0100
committerPaolo Abeni <[email protected]>2023-02-07 14:13:55 +0100
commit565b4824c39fa335cba2028a09d7beb7112f3c9a (patch)
treee32e516f10cb4576738761dd594c506110f7b282 /tools/perf/scripts/python/sched-migration.py
parentbbb253b206b9c417928a6c827d038e457f3012e9 (diff)
devlink: change port event netdev notifier from per-net to global
Currently only the network namespace of devlink instance is monitored for port events. If netdev is moved to a different namespace and then unregistered, NETDEV_PRE_UNINIT is missed which leads to trigger following WARN_ON in devl_port_unregister(). WARN_ON(devlink_port->type != DEVLINK_PORT_TYPE_NOTSET); Fix this by changing the netdev notifier from per-net to global so no event is missed. Fixes: 02a68a47eade ("net: devlink: track netdev with devlink_port assigned") Signed-off-by: Jiri Pirko <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions