diff options
author | Eric Dumazet <[email protected]> | 2024-02-06 14:43:10 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-02-07 18:55:12 -0800 |
commit | 9b5b36374ed6953f3efcc82e7cb4c353b9869faf (patch) | |
tree | ff8cd203c775dc21e11549de13659c8fb631ddd6 /lib/test-string_helpers.c | |
parent | de02deab27fd63063e056811d0473ad5b9a56e5e (diff) |
ip_tunnel: 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
and one unregister_netdevice_many() call.
This patch takes care of ipip, ip_vti, and ip_gre tunnels.
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 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions