aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_interface_core.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-02-06 14:43:11 +0000
committerJakub Kicinski <[email protected]>2024-02-08 02:55:12 +0000
commit806b67850787bae3df1bc2e5a30e8c658c579d80 (patch)
treef23ee5b07d696ed545ecde6eb868881d387dcfb8 /net/xfrm/xfrm_interface_core.c
parentip_tunnel: use exit_batch_rtnl() method (diff)
downloadkernel-806b67850787bae3df1bc2e5a30e8c658c579d80.tar.gz
kernel-806b67850787bae3df1bc2e5a30e8c658c579d80.zip
bridge: 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 <[email protected]> Reviewed-by: Antoine Tenart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/xfrm/xfrm_interface_core.c')
0 files changed, 0 insertions, 0 deletions