diff options
| author | Eric Dumazet <[email protected]> | 2024-02-06 14:43:11 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-02-08 02:55:12 +0000 |
| commit | 806b67850787bae3df1bc2e5a30e8c658c579d80 (patch) | |
| tree | f23ee5b07d696ed545ecde6eb868881d387dcfb8 /net/xfrm/xfrm_interface_core.c | |
| parent | ip_tunnel: use exit_batch_rtnl() method (diff) | |
| download | kernel-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
