diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2026-06-05 01:46:30 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-09 03:06:24 +0300 |
| commit | 2a798e8c71b569b3adca009ceb558ff2a936c4d9 (patch) | |
| tree | 137c54468c0ef0fbbe4c896e01c08eeea48ba8f7 /include | |
| parent | 33e6984fe5d49eecba404141b0ef0f305ad0a3b3 (diff) | |
| download | linux-2a798e8c71b569b3adca009ceb558ff2a936c4d9.tar.xz | |
ip6mr: Convert ip6mr_net_exit_batch() to ->exit_rtnl().
ip6mr_net_ops uses ->exit_batch() to acquire RTNL only once
for dying network namespaces.
ip6mr does not depend on the ordering of ->exit_rtnl() and
->exit_batch() of other pernet_operations (unlike fib_net_ops).
Once ip6mr_free_table() is called and all devices are
queued for destruction in ->exit_rtnl(), later during
NETDEV_UNREGISTER, ip6mr_device_event() will not see anything
in vif table and just do nothing.
Let's convert ip6mr_net_exit_batch() to ->exit_rtnl().
We will remove RTNL and unregister_netdevice_many() in
ip6mr_rules_init().
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260604224712.3209821-13-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
