aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorThomas Graf <[email protected]>2015-01-21 11:54:01 +0000
committerDavid S. Miller <[email protected]>2015-01-26 11:56:34 -0800
commitfe6a043c535acfec8f8e554536c87923dcb45097 (patch)
tree77f06c370e355b2a1ec6c04ea104983625bd8d7b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent1dc7b90f7cd050ef6d5e511e652347e52874469c (diff)
rhashtable: rhashtable_remove() must unlink in both tbl and future_tbl
As removals can occur during resizes, entries may be referred to from both tbl and future_tbl when the removal is requested. Therefore rhashtable_remove() must unlink the entry in both tables if this is the case. The existing code did search both tables but stopped when it hit the first match. Failing to unlink in both tables resulted in use after free. Fixes: 97defe1ecf86 ("rhashtable: Per bucket locks & deferred expansion/shrinking") Reported-by: Ying Xue <[email protected]> Signed-off-by: Thomas Graf <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions