diff options
author | 2025-01-15 17:06:07 +0900 | |
---|---|---|
committer | 2025-01-20 12:16:06 -0800 | |
commit | 82a1e6aa8f6c181e73117975a9d44eb3b51425a2 (patch) | |
tree | 6ea9a7b4da81dac77d9840787fb419356fd88ea2 /scripts/lib/kdoc/kdoc_parser.py | |
parent | ipv6: Move lifetime validation to inet6_rtm_newaddr(). (diff) | |
download | linux-rng-82a1e6aa8f6c181e73117975a9d44eb3b51425a2.tar.xz linux-rng-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 <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250115080608.28127-11-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions