aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorShiraz Saleem <[email protected]>2020-02-04 16:38:40 -0600
committerJason Gunthorpe <[email protected]>2020-02-11 14:31:11 -0400
commit9a4b24108d92ffaa886e37923088bd806b988948 (patch)
tree5777aec1303d8f6294df925fdb48a1d8537bbb76 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentd7e2d3432ae7795e5b77a77039e904ed4a769f39 (diff)
i40iw: Do an RCU lookup in i40iw_add_ipv4_addr
The in_dev_for_each_ifa_rtnl() iterator in i40iw_add_ipv4_addr requires that the rtnl lock be held. But the rtnl_trylock/unlock scheme in this function does not guarantee it. Replace the rtnl locking with an RCU lookup using in_dev_for_each_ifa_rcu() Fixes: 8e06af711bf2 ("i40iw: add main, hdr, status") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Shiraz Saleem <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions