diff options
author | Eric Dumazet <edumazet@google.com> | 2024-02-06 14:43:12 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-07 18:55:12 -0800 |
commit | 8962daccc2d32812fe24bd21496c036eb4f454b0 (patch) | |
tree | f7dcd82263393d8c8dee032a7f6926cd43f9a045 /include | |
parent | 806b67850787bae3df1bc2e5a30e8c658c579d80 (diff) |
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 'include')
0 files changed, 0 insertions, 0 deletions