diff options
author | 2025-03-19 16:06:51 -0700 | |
---|---|---|
committer | 2025-03-25 07:32:00 -0700 | |
commit | f5fabaff86cbb049dbb149c91d21807069d38de3 (patch) | |
tree | e043feddb44daba8bf1a86f6d1894f2b5d44f7a1 /scripts/gdb/linux/utils.py | |
parent | nexthop: Remove redundant group len check in nexthop_create_group(). (diff) | |
download | wireguard-linux-f5fabaff86cbb049dbb149c91d21807069d38de3.tar.xz wireguard-linux-f5fabaff86cbb049dbb149c91d21807069d38de3.zip |
nexthop: Convert RTM_NEWNEXTHOP to per-netns RTNL.
If we pass false to the rtnl_held param of lwtunnel_valid_encap_type(),
we can move RTNL down before rtm_to_nh_config_rtnl().
Let's use rtnl_net_lock() in rtm_new_nexthop().
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-7-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions