summaryrefslogtreecommitdiff
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-02-06 17:43:12 +0300
committerJakub Kicinski <kuba@kernel.org>2024-02-08 05:55:12 +0300
commit8962daccc2d32812fe24bd21496c036eb4f454b0 (patch)
treef7dcd82263393d8c8dee032a7f6926cd43f9a045 /net/unix/garbage.c
parent806b67850787bae3df1bc2e5a30e8c658c579d80 (diff)
downloadlinux-8962daccc2d32812fe24bd21496c036eb4f454b0.tar.xz
xfrm: interface: use exit_batch_rtnl() method
exit_batch_rtnl() is called while RTNL is held, and devices to be unregistered can be queued in the dev_kill_list. This saves one rtnl_lock()/rtnl_unlock() pair per netns and one unregister_netdevice_many() call. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Antoine Tenart <atenart@kernel.org> Link: https://lore.kernel.org/r/20240206144313.2050392-17-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions