diff options
author | Miaoqian Lin <[email protected]> | 2022-12-23 11:29:00 +0400 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2022-12-28 14:19:53 +0200 |
commit | cf6a05c8494a8ae7fec8e5f1229b45ca5b4bcd30 (patch) | |
tree | e7f2779985c49e41570d97ee6d4cbc6700607192 /tools/perf/scripts/python | |
parent | ee84146c05ad2316b9a7222d0ec4413e0bf30eeb (diff) |
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: 0045e0d3f42e ("RDMA/hns: Support direct wqe of userspace")
Signed-off-by: Miaoqian Lin <[email protected]>
Acked-by Haoyue Xu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions