ipv6: change fib6_rules_net_exit() to batch mode
authorEric Dumazet <edumazet@google.com>
Tue, 8 Feb 2022 04:50:33 +0000 (20:50 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 9 Feb 2022 04:41:34 +0000 (20:41 -0800)
commitea3e91666ddd9f141632157ee601325d1d207061
tree09e3fa37ecbeffced99c5a6946a656d540cd8d77
parent1c69576461435521b020cf0e6475b7524c1394dd
ipv6: change fib6_rules_net_exit() to batch mode

cleanup_net() is competing with other rtnl users.

fib6_rules_net_exit() seems a good candidate for exit_batch(),
as this 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>
net/ipv6/fib6_rules.c