linux/drivers/infiniband/hw
Chengchang Tang 7e20b1dc5a 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>
History 2024-01-25 15:45:02 -08:00
..
bnxt_re RDMA/bnxt_re: Correct module description string 2023-11-22 13:51:48 +02:00
cxgb4 RDMA/cxgb4: Check skb value for failure to allocate 2023-09-11 14:55:53 +03:00
efa RDMA/efa: Fix wrong resources deallocation order 2023-08-22 17:21:53 +03:00
erdma RDMA/erdma: Fix NULL pointer access in regmr_cmd 2023-09-18 10:42:19 +03:00
hfi1 RDMA for v6.7 2023-11-02 15:20:30 -10:00
hns RDMA/hns: Fix memory leak in free_mr_init() 2024-01-25 15:45:02 -08:00
irdma RDMA/irdma: Avoid free the non-cqp_request scratch 2023-12-04 20:02:41 -04:00
mana RDMA/mana_ib: Use v2 version of cfg_rx_steer_req to enable RX coalescing 2023-06-01 12:52:01 -03:00
mlx4 IB/mlx4: Fix the size of a buffer in add_port_entries() 2023-09-23 21:53:24 +03:00
mlx5 IB/mlx5: Fix init stage error handling to avoid double free of same QP and UAF 2023-10-31 11:16:05 -03:00
mthca RDMA/usnic: Silence uninitialized symbol smatch warnings 2024-01-25 15:44:58 -08:00
ocrdma RDMA: Remove unnecessary ternary operators 2023-07-31 15:16:12 +03:00
qedr RDMA: Remove unnecessary ternary operators 2023-07-31 15:16:12 +03:00
qib RDMA for v6.7 2023-11-02 15:20:30 -10:00
usnic RDMA/usnic: Annotate struct usnic_uiom_chunk with __counted_by 2023-10-02 14:44:54 +03:00
vmw_pvrdma RDMA/core: Remove NULL check before dev_{put, hold} 2023-10-24 18:16:04 +03:00
Makefile RDMA/mana_ib: Add a driver for Microsoft Azure Network Adapter 2022-11-11 11:40:09 +02:00