diff options
author | Eric Dumazet <[email protected]> | 2016-08-26 08:51:39 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-08-26 21:59:53 -0700 |
commit | 9dbeea7f08f3784b152d9fb3b86beb34aad77c72 (patch) | |
tree | 8247a2cd0567720c777833fa320686bacbec8132 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | e70c70c38d7a5ced76fc8b1c4a7ccee76e9c2911 (diff) |
rhashtable: fix a memory leak in alloc_bucket_locks()
If vmalloc() was successful, do not attempt a kmalloc_array()
Fixes: 4cf0b354d92e ("rhashtable: avoid large lock-array allocations")
Reported-by: CAI Qian <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Florian Westphal <[email protected]>
Acked-by: Herbert Xu <[email protected]>
Tested-by: CAI Qian <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions