diff options
| author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2025-01-06 16:07:50 +0900 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-07 17:49:20 -0800 |
| commit | ca779f40654a046613ea812126055f161844f17b (patch) | |
| tree | 12cf80b9ea6813716d942626815aed2650fe5da5 /tools/perf/scripts/python | |
| parent | net: Hold __rtnl_net_lock() in (un)?register_netdevice_notifier(). (diff) | |
| download | linux-ca779f40654a046613ea812126055f161844f17b.tar.gz linux-ca779f40654a046613ea812126055f161844f17b.zip | |
net: Hold rtnl_net_lock() in (un)?register_netdevice_notifier_net().
(un)?register_netdevice_notifier_net() hold RTNL before triggering the
notifier for all netdev in the netns.
Let's convert the RTNL to rtnl_net_lock().
Note that the per-netns netdev notifier is protected by per-netns RTNL.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250106070751.63146-3-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
