linux/drivers/infiniband
Miaoqian Lin cf6a05c849 RDMA/hns: Fix refcount leak in hns_roce_mmap
rdma_user_mmap_entry_get_pgoff() takes the reference.
Add missing rdma_user_mmap_entry_put() to release the reference.

Fixes: 0045e0d3f4 ("RDMA/hns: Support direct wqe of userspace")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Acked-by Haoyue Xu <xuhaoyue1@hisilicon.com>
Link: https://lore.kernel.org/r/20221223072900.802728-1-linmq006@gmail.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2022-12-28 14:19:53 +02:00
..
core Driver Core changes for 6.2-rc1 2022-12-16 03:54:54 -08:00
hw RDMA/hns: Fix refcount leak in hns_roce_mmap 2022-12-28 14:19:53 +02:00
sw v6.2 merge window 2nd pull request 2022-12-17 08:23:42 -06:00
ulp v6.2 merge window pull request 2022-12-14 09:27:13 -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