diff options
| author | Aditya Pakki <[email protected]> | 2020-06-13 23:11:48 -0500 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-06-18 09:35:47 -0300 |
| commit | 90a239ee25fa3a483facec3de7c144361a3d3a51 (patch) | |
| tree | 3d746d55a30d6d89678e8b04e8305c3fd693f2d4 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 1ea7c546b8b3f27bf7da673c265b09c8f79d11bc (diff) | |
RDMA/rvt: Fix potential memory leak caused by rvt_alloc_rq
In case of failure of alloc_ud_wq_attr(), the memory allocated by
rvt_alloc_rq() is not freed. Fix it by calling rvt_free_rq() using the
existing clean-up code.
Fixes: d310c4bf8aea ("IB/{rdmavt, hfi1, qib}: Remove AH refcount for UD QPs")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Aditya Pakki <[email protected]>
Acked-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions