acrn-kernel/drivers/infiniband
Saravanan Vajravel 370280c65c RDMA/core: Fix GID entry ref leak when create_ah fails
[ Upstream commit aca3b0fa3d ]

If AH create request fails, release sgid_attr to avoid GID entry
referrence leak reported while releasing GID table

Fixes: 1a1f460ff1 ("RDMA: Hold the sgid_attr inside the struct ib_ah/qp")
Link: https://lore.kernel.org/r/20230401063424.342204-1-saravanan.vajravel@broadcom.com
Reviewed-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Saravanan Vajravel <saravanan.vajravel@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-20 12:35:10 +02:00
..
core RDMA/core: Fix GID entry ref leak when create_ah fails 2023-04-20 12:35:10 +02:00
hw RDMA/erdma: Defer probing if netdevice can not be found 2023-04-20 12:35:07 +02:00
sw RDMA/siw: Fix user page pinning accounting 2023-03-10 09:34:11 +01:00
ulp IB/IPoIB: Fix legacy IPoIB due to wrong number of queues 2023-02-14 19:11:43 +01:00
Kconfig RDMA: Disable IB HW for UML 2022-12-31 13:32:36 +01:00
Makefile