OpenCloudOS-Kernel/drivers/infiniband
Saravanan Vajravel aca3b0fa3d RDMA/core: Fix GID entry ref leak when create_ah fails
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>
2023-04-13 12:17:32 -03:00
..
core RDMA/core: Fix GID entry ref leak when create_ah fails 2023-04-13 12:17:32 -03:00
hw RDMA/erdma: Defer probing if netdevice can not be found 2023-03-20 12:53:24 +02:00
sw v6.3 RDMA pull request 2023-02-24 15:11:03 -08:00
ulp v6.3 RDMA pull request 2023-02-24 15:11:03 -08:00
Kconfig RDMA: Disable IB HW for UML 2022-12-04 15:22:03 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00