diff options
author | Kuniyuki Iwashima <[email protected]> | 2024-10-21 11:32:38 -0700 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-10-29 11:54:58 +0100 |
commit | 88d1f8770690791cbe5d8f60b17137df05476299 (patch) | |
tree | 79fd8432e23d355eb3934169eb3ccaf51584b4e8 /tools/perf/scripts/python/task-analyzer.py | |
parent | 77453d428d4c9c613341de7f9b943f0c83f37a27 (diff) |
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 <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions