Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
user avatar
Aditya Pakki authored
[ Upstream commit 90a239ee ]

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: d310c4bf ("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: default avatarAditya Pakki <pakki001@umn.edu>
Acked-by: default avatarDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
66143ecb
Forked from BeagleBoard.org / Linux
Source project has a limited visibility.
Name Last commit Last update