diff options
| author | Kuniyuki Iwashima <[email protected]> | 2025-01-15 08:06:05 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-01-20 20:16:05 +0000 |
| commit | 2f1ace4127fdfc102603f359756b230f3d897411 (patch) | |
| tree | 74564f14ff7286673ec5bd71e15f7925256b3a82 /net/unix/garbage.c | |
| parent | ipv6: Pass dev to inet6_addr_add(). (diff) | |
| download | kernel-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
