linux/drivers/infiniband/hw/erdma
Miaoqian Lin ee84146c05 RDMA/erdma: Fix refcount leak in erdma_mmap
rdma_user_mmap_entry_get() take reference, we should release it when not
need anymore, add the missing rdma_user_mmap_entry_put() in the error
path to fix it.

Fixes: 1550557717 ("RDMA/erdma: Add verbs implementation")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20221220121139.1540564-1-linmq006@gmail.com
Acked-by: Cheng Xu <chengyou@linux.alibaba.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2022-12-28 11:55:34 +02:00
..
erdma_cm.c RDMA/erdma: Remove redundant includes 2022-09-20 14:27:51 +03:00
erdma_cm.h RDMA/erdma: Add connection management (CM) support 2022-07-27 15:54:39 -03:00
erdma_cmdq.c RDMA/erdma: Remove redundant includes 2022-09-20 14:27:51 +03:00
erdma_cq.c RDMA/erdma: Implement atomic operations support 2022-11-07 09:55:04 +02:00
erdma_eq.c RDMA/erdma: Remove redundant includes 2022-09-20 14:27:51 +03:00
erdma_hw.h RDMA/erdma: Implement the lifecycle of reflushing work for each QP 2022-11-24 14:58:52 -04:00
erdma_main.c RDMA/erdma: Add a workqueue for WRs reflushing 2022-11-24 14:58:52 -04:00
erdma_qp.c RDMA/erdma: Notify the latest PI to FW for reflushing when necessary 2022-11-24 14:58:52 -04:00
erdma_verbs.c RDMA/erdma: Fix refcount leak in erdma_mmap 2022-12-28 11:55:34 +02:00
erdma_verbs.h RDMA/erdma: Notify the latest PI to FW for reflushing when necessary 2022-11-24 14:58:52 -04:00
erdma.h RDMA/erdma: Add a workqueue for WRs reflushing 2022-11-24 14:58:52 -04:00
Kconfig RDMA/erdma: Add driver to kernel build environment 2022-07-27 16:04:05 -03:00
Makefile RDMA/erdma: Add driver to kernel build environment 2022-07-27 16:04:05 -03:00