aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2025-01-15 08:06:05 +0000
committerJakub Kicinski <[email protected]>2025-01-20 20:16:05 +0000
commit2f1ace4127fdfc102603f359756b230f3d897411 (patch)
tree74564f14ff7286673ec5bd71e15f7925256b3a82 /net/unix/garbage.c
parentipv6: Pass dev to inet6_addr_add(). (diff)
downloadkernel-2f1ace4127fdfc102603f359756b230f3d897411.tar.gz
kernel-2f1ace4127fdfc102603f359756b230f3d897411.zip
ipv6: Set cfg.ifa_flags before device lookup in inet6_rtm_newaddr().
We will convert inet6_rtm_newaddr() to per-netns RTNL. Except for IFA_F_OPTIMISTIC, cfg.ifa_flags can be set before __dev_get_by_index(). Let's move ifa_flags setup before __dev_get_by_index() so that we can set ifa_flags without RTNL. Also, now it's moved before tb[IFA_CACHEINFO] in preparing for the next patch. 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