diff options
| author | Aditya Pakki <pakki001@umn.edu> | 2020-06-13 23:11:48 -0500 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-06-18 09:35:47 -0300 |
| commit | 90a239ee25fa3a483facec3de7c144361a3d3a51 (patch) | |
| tree | 3d746d55a30d6d89678e8b04e8305c3fd693f2d4 /scripts/gdb/linux/proc.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/20200614041148.131983-1-pakki001@umn.edu
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
