aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2024-10-21 11:32:33 -0700
committerPaolo Abeni <pabeni@redhat.com>2024-10-29 11:54:57 +0100
commitd4b483208b2606add41a22bdd3c8cd6d36009319 (patch)
treeeb52262426f7dfcf2b5e556d97fb7a5b22d23fd0 /tools/perf/scripts/python
parentipv4: Convert RTM_NEWADDR to per-netns RTNL. (diff)
downloadlinux-d4b483208b2606add41a22bdd3c8cd6d36009319.tar.gz
linux-d4b483208b2606add41a22bdd3c8cd6d36009319.zip
ipv4: Use per-netns RTNL helpers in inet_rtm_newaddr().
inet_rtm_to_ifa() and find_matching_ifa() are called under rtnl_net_lock(). __in_dev_get_rtnl() and in_dev_for_each_ifa_rtnl() there can use per-netns RTNL helpers. Let's define and use __in_dev_get_rtnl_net() and in_dev_for_each_ifa_rtnl_net(). Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions