aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/ipv4/ipmr.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2022-02-07 20:50:34 -0800
committerJakub Kicinski <kuba@kernel.org>2022-02-08 20:41:34 -0800
commite2f736b753ecb70174f862aa040184e85c158255 (patch)
tree370f4ac18d03bb87334f93943bf060bcf4667e96 /net/ipv4/ipmr.c
parentipv6: change fib6_rules_net_exit() to batch mode (diff)
downloadwireguard-linux-e2f736b753ecb70174f862aa040184e85c158255.tar.xz
wireguard-linux-e2f736b753ecb70174f862aa040184e85c158255.zip
ip6mr: introduce ip6mr_net_exit_batch()
cleanup_net() is competing with other rtnl users. Avoiding to acquire rtnl for each netns before calling ip6mr_rules_exit() gives chance for cleanup_net() to progress much faster, holding rtnl a bit longer. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/ipmr.c')
0 files changed, 0 insertions, 0 deletions