diff options
author | 2025-01-15 17:06:04 +0900 | |
---|---|---|
committer | 2025-01-20 12:16:05 -0800 | |
commit | f7fce98a73df01901c8d67f1e7cd66a05fed148f (patch) | |
tree | a22eb87a406706909a3572f6aa33220ea70491c0 /scripts/lib/kdoc/kdoc_parser.py | |
parent | ipv6: Convert inet6_ioctl() to per-netns RTNL. (diff) | |
download | linux-rng-f7fce98a73df01901c8d67f1e7cd66a05fed148f.tar.xz linux-rng-f7fce98a73df01901c8d67f1e7cd66a05fed148f.zip |
ipv6: Pass dev to inet6_addr_add().
inet6_addr_add() is called from inet6_rtm_newaddr() and
addrconf_add_ifaddr().
inet6_addr_add() looks up dev by __dev_get_by_index(), but
it's already done in inet6_rtm_newaddr().
Let's move the 2nd lookup to addrconf_add_ifaddr() and pass
dev to inet6_addr_add().
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250115080608.28127-8-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