aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2024-10-21 11:32:38 -0700
committerPaolo Abeni <pabeni@redhat.com>2024-10-29 11:54:58 +0100
commit88d1f8770690791cbe5d8f60b17137df05476299 (patch)
tree79fd8432e23d355eb3934169eb3ccaf51584b4e8 /tools/perf/scripts/python
parentipv4: Convert devinet_sysctl_forward() to per-netns RTNL. (diff)
downloadlinux-88d1f8770690791cbe5d8f60b17137df05476299.tar.gz
linux-88d1f8770690791cbe5d8f60b17137df05476299.zip
ipv4: Convert devinet_ioctl() to per-netns RTNL except for SIOCSIFFLAGS.
Basically, devinet_ioctl() operates on a single netns. However, ioctl(SIOCSIFFLAGS) will trigger the netdev notifier that could touch another netdev in different netns. Let's use per-netns RTNL helper in devinet_ioctl() and place ASSERT_RTNL() for SIOCSIFFLAGS. We will remove ASSERT_RTNL() once RTM_SETLINK and RTM_DELLINK are converted. 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