summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2025-02-28 07:23:26 +0300
committerJakub Kicinski <kuba@kernel.org>2025-03-04 02:04:11 +0300
commitc0ebe1cdc2cff0dee092a67f2c50377bb5fcf43d (patch)
treef2c3efcf766134f44a07580976cad0461e1478cb /tools/perf/scripts/python/libxed.py
parentaf5cd2a8f07842d14be2cbc628ea511adfd6bba9 (diff)
downloadlinux-c0ebe1cdc2cff0dee092a67f2c50377bb5fcf43d.tar.xz
ipv4: fib: Hold rtnl_net_lock() in ip_rt_ioctl().
ioctl(SIOCADDRT/SIOCDELRT) calls ip_rt_ioctl() to add/remove a route in the netns of the specified socket. Let's hold rtnl_net_lock() there. Note that rtentry_to_fib_config() can be called without rtnl_net_lock() if we convert rtentry.dev handling to RCU later. Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://patch.msgid.link/20250228042328.96624-11-kuniyu@amazon.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions