diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2025-03-20 02:06:52 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-03-25 17:32:00 +0300 |
commit | 29c8e323320f2a1c54d7dfb0937255fa8c2ff901 (patch) | |
tree | f7e0db8b201191607ada8f535212a87092ad1f12 /tools/perf/scripts/python/syscall-counts.py | |
parent | f5fabaff86cbb049dbb149c91d21807069d38de3 (diff) | |
download | linux-29c8e323320f2a1c54d7dfb0937255fa8c2ff901.tar.xz |
nexthop: Convert RTM_DELNEXTHOP to per-netns RTNL.
In rtm_del_nexthop(), only nexthop_find_by_id() and remove_nexthop()
require RTNL as they touch net->nexthop.rb_root.
Let's move RTNL down as rtnl_net_lock() before nexthop_find_by_id().
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20250319230743.65267-8-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions