]> git.baikalelectronics.ru Git - kernel.git/commit
nexthop: change nexthop_net_exit() to nexthop_net_exit_batch()
authorEric Dumazet <edumazet@google.com>
Tue, 8 Feb 2022 04:50:31 +0000 (20:50 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 9 Feb 2022 04:41:33 +0000 (20:41 -0800)
commitfbe3eeae3c50046e0ba8cfb46606594e178bcb5d
tree667f66cd8596517277be3f5c769ac200e071fa83
parent3be5b0230e8023cc7a15095bdbdfb648b5dec333
nexthop: change nexthop_net_exit() to nexthop_net_exit_batch()

cleanup_net() is competing with other rtnl users.

nexthop_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/ipv4/nexthop.c