diff options
author | 2025-01-15 17:06:05 +0900 | |
---|---|---|
committer | 2025-01-20 12:16:05 -0800 | |
commit | 2f1ace4127fdfc102603f359756b230f3d897411 (patch) | |
tree | 74564f14ff7286673ec5bd71e15f7925256b3a82 /scripts/lib/kdoc/kdoc_parser.py | |
parent | ipv6: Pass dev to inet6_addr_add(). (diff) | |
download | linux-rng-2f1ace4127fdfc102603f359756b230f3d897411.tar.xz linux-rng-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 <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250115080608.28127-9-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