summaryrefslogtreecommitdiffstats
path: root/io_uring/rw.c
diff options
context:
space:
mode:
authorChengchang Tang <tangchengchang@huawei.com>2023-12-07 19:42:31 +0800
committerLeon Romanovsky <leon@kernel.org>2023-12-07 15:09:16 +0200
commit288f535951aa81ed674f5e5477ab11b9d9351b8c (patch)
tree8be5e209e8cf48164a1055160c6737b005649e65 /io_uring/rw.c
parentf31683a5227b1a0febae8e2a85d7fdf9514c10f1 (diff)
downloadlinux-stable-288f535951aa81ed674f5e5477ab11b9d9351b8c.tar.gz
linux-stable-288f535951aa81ed674f5e5477ab11b9d9351b8c.tar.bz2
linux-stable-288f535951aa81ed674f5e5477ab11b9d9351b8c.zip
RDMA/hns: Fix memory leak in free_mr_init()
When a reserved QP fails to be created, the memory of the remaining created reserved QPs is leaked. Fixes: 70f92521584f ("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>
Diffstat (limited to 'io_uring/rw.c')
0 files changed, 0 insertions, 0 deletions