diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2026-07-03 00:09:14 +0000 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-07-11 12:57:49 +0200 |
| commit | c6cfaf97837e18d50e65185d36b4a9d860f62a4a (patch) | |
| tree | 759af44613d122d941d5d41b5b84766ac6769ea0 /include/linux/timerqueue_types.h | |
| parent | 49c26d4bf1daa8ada5a2015646adbf7b1b716b8b (diff) | |
rtnetlink: Add per-netns rtnl_work.
The biggest blocker to per-netns RTNL is netdev unregistration.
It starts within a single netns (e.g., during a device lookup or
netns dismantle), but it can eventually involve multiple namespaces,
such as when upper ipvlan devices reside in different netns.
This prevents us from acquiring multiple rtnl_net_lock()s beforehand.
When we encounter such a cross-netns device, we must delegate the
unregistration to the work of the netns where the device actually
resides.
Let's add per-netns rtnl_work to support the deferred netdev
unregistration.
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260703001009.1572444-4-kuniyu@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
