linux/drivers/infiniband
Chengchang Tang e785018a7f RDMA/hns: Fix memory leak in free_mr_init()
[ Upstream commit 288f535951 ]

When a reserved QP fails to be created, the memory of the remaining
created reserved QPs is leaked.

Fixes: 70f9252158 ("RDMA/hns: Use the reserved loopback QPs to free MR before destroying MPT")
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20231207114231.2872104-6-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 15:35:34 -08:00
..
core RDMA/core: Fix umem iterator when PAGE_SIZE is greater then HCA pgsz 2023-12-13 18:45:16 +01:00
hw RDMA/hns: Fix memory leak in free_mr_init() 2024-01-25 15:35:34 -08:00
sw RDMA/siw: Fix connection failure handling 2023-09-11 14:53:23 +03:00
ulp RDMA/rtrs-clt: Remove the warnings for req in_use check 2023-12-13 18:45:13 +01:00
Kconfig RDMA: Disable IB HW for UML 2022-12-04 15:22:03 +02:00
Makefile