aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2015-03-15 21:12:04 +1100
committerDavid S. Miller <[email protected]>2015-03-15 22:22:08 -0400
commit963ecbd41a1026d99ec7537c050867428c397b89 (patch)
treeb1735fd0d424222d31fb72f51d860b51e417dac5 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent0034de4193e4aad30bbbef4e74ca5e0631ba08a7 (diff)
rhashtable: Fix use-after-free in rhashtable_walk_stop
The commit c4db8848af6af92f90462258603be844baeab44d ("rhashtable: Move future_tbl into struct bucket_table") introduced a use-after- free bug in rhashtable_walk_stop because it dereferences tbl after droping the RCU read lock. This patch fixes it by moving the RCU read unlock down to the bottom of rhashtable_walk_stop. In fact this was how I had it originally but it got dropped while rearranging patches because this one depended on the async freeing of bucket_table. Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions