diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2025-01-06 10:07:50 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-08 04:49:20 +0300 |
commit | ca779f40654a046613ea812126055f161844f17b (patch) | |
tree | 12cf80b9ea6813716d942626815aed2650fe5da5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a239e0625097bccdd4065390952fe9e6d0fdf02b (diff) | |
download | linux-ca779f40654a046613ea812126055f161844f17b.tar.xz |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions