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 /net/lapb/lapb_timer.c | |
| parent | a239e0625097bccdd4065390952fe9e6d0fdf02b (diff) | |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
