diff options
| author | Kuniyuki Iwashima <[email protected]> | 2025-01-15 08:06:07 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-01-20 20:16:06 +0000 |
| commit | 82a1e6aa8f6c181e73117975a9d44eb3b51425a2 (patch) | |
| tree | 6ea9a7b4da81dac77d9840787fb419356fd88ea2 /net/unix/af_unix.c | |
| parent | ipv6: Move lifetime validation to inet6_rtm_newaddr(). (diff) | |
| download | kernel-82a1e6aa8f6c181e73117975a9d44eb3b51425a2.tar.gz kernel-82a1e6aa8f6c181e73117975a9d44eb3b51425a2.zip | |
ipv6: Convert inet6_rtm_newaddr() to per-netns RTNL.
Let's register inet6_rtm_newaddr() with RTNL_FLAG_DOIT_PERNET
and hold rtnl_net_lock() before __dev_get_by_index().
Now that inet6_addr_add() and inet6_addr_modify() are always
called under per-netns RTNL.
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
