linux-bl808/drivers/infiniband/sw/rdmavt
Aditya Pakki 90a239ee25 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: d310c4bf8a ("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>
2020-06-18 09:35:47 -03:00
..
ah.c
ah.h
cq.c
cq.h
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
mad.c
mad.h
Makefile
mcast.c
mcast.h
mmap.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
mmap.h
mr.c RDMA: Remove 'max_fmr' 2020-06-02 20:32:54 -03:00
mr.h
pd.c
pd.h
qp.c RDMA/rvt: Fix potential memory leak caused by rvt_alloc_rq 2020-06-18 09:35:47 -03:00
qp.h
rc.c
srq.c
srq.h
trace.c
trace.h
trace_cq.h
trace_mr.h
trace_qp.h
trace_rc.h
trace_rvt.h
trace_tx.h
vt.c
vt.h