aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2015-02-04 07:33:22 +1100
committerDavid S. Miller <[email protected]>2015-02-04 20:34:52 -0800
commit28134a53d624ae7e90fff8500b25b3add4d40b92 (patch)
treef919a71660f25f7d50c927df06df0d265cff2524 /tools/perf/scripts/python
parent9b55669c14212f89dba39a2d8e00c1ec1d44c1ec (diff)
rhashtable: Fix potential crash on destroy in rhashtable_shrink
The current being_destroyed check in rhashtable_expand is not enough since if we start a shrinking process after freeing all elements in the table that's also going to crash. This patch adds a being_destroyed check to the deferred worker thread so that we bail out as soon as we take the lock. Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions