diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2025-01-15 11:06:05 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-20 23:16:05 +0300 |
commit | 2f1ace4127fdfc102603f359756b230f3d897411 (patch) | |
tree | 74564f14ff7286673ec5bd71e15f7925256b3a82 /scripts/gdb/linux/proc.py | |
parent | f7fce98a73df01901c8d67f1e7cd66a05fed148f (diff) | |
download | linux-2f1ace4127fdfc102603f359756b230f3d897411.tar.xz |
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/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions