diff options
| author | Kuniyuki Iwashima <[email protected]> | 2025-01-15 08:06:04 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-01-20 20:16:05 +0000 |
| commit | f7fce98a73df01901c8d67f1e7cd66a05fed148f (patch) | |
| tree | a22eb87a406706909a3572f6aa33220ea70491c0 /net/unix/garbage.c | |
| parent | ipv6: Convert inet6_ioctl() to per-netns RTNL. (diff) | |
| download | kernel-f7fce98a73df01901c8d67f1e7cd66a05fed148f.tar.gz kernel-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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
