diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2025-01-15 17:06:05 +0900 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-20 12:16:05 -0800 |
commit | 2f1ace4127fdfc102603f359756b230f3d897411 (patch) | |
tree | 74564f14ff7286673ec5bd71e15f7925256b3a82 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f7fce98a73df01901c8d67f1e7cd66a05fed148f (diff) |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions