summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@google.com>2026-07-03 00:09:13 +0000
committerPaolo Abeni <pabeni@redhat.com>2026-07-11 12:57:49 +0200
commit49c26d4bf1daa8ada5a2015646adbf7b1b716b8b (patch)
tree6dddfdafe5899a2e676892140ee91e6eab0ca2fa /include/linux
parent5ecbbb179e0c737eb1360a877508766efb16f010 (diff)
rtnetlink: Call unregister_netdevice_many() only once in rtnl_link_unregister().
When rtnl_link_unregister() is called during module unload, it calls __rtnl_kill_links() for every netns. __rtnl_kill_links() collects all devices of the unloaded module and passes them to unregister_netdevice_many(). Let's move unregister_netdevice_many() to rtnl_link_unregister() to unregister all devices across netns in a single batch. Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com> Link: https://patch.msgid.link/20260703001009.1572444-3-kuniyu@google.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions