diff options
| author | Doug Ledford <[email protected]> | 2017-10-09 09:11:32 -0400 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-10-09 12:10:41 -0400 |
| commit | 6b9f8970cd30929cb6b372fa44fa66da9e59c650 (patch) | |
| tree | fce782ea21e76433cd4eeeb3cf4eb5280809b36a /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 4831ca9e4a8e48cb27e0a792f73250390827a228 (diff) | |
IB/rxe: put the pool on allocation failure
If the allocation of elem fails, it is not sufficient to simply check
for NULL and return. We need to also put our reference on the pool or
else we will leave the pool with a permanent ref count and we will never
be able to free it.
Fixes: 4831ca9e4a8e ("IB/rxe: check for allocation failure on elem")
Suggested-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions