summaryrefslogtreecommitdiffstats
path: root/tools/leds
diff options
context:
space:
mode:
authorAditya Pakki <pakki001@umn.edu>2020-06-13 23:11:48 -0500
committerJason Gunthorpe <jgg@mellanox.com>2020-06-18 09:35:47 -0300
commit90a239ee25fa3a483facec3de7c144361a3d3a51 (patch)
tree3d746d55a30d6d89678e8b04e8305c3fd693f2d4 /tools/leds
parent1ea7c546b8b3f27bf7da673c265b09c8f79d11bc (diff)
downloadlinux-90a239ee25fa3a483facec3de7c144361a3d3a51.tar.bz2
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 'tools/leds')
0 files changed, 0 insertions, 0 deletions