diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-12-20 16:11:39 +0400 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2022-12-28 11:55:34 +0200 |
commit | ee84146c05ad2316b9a7222d0ec4413e0bf30eeb (patch) | |
tree | ffce53f2d646385d55800fb9075d61a91cdd7e9e /tools/perf/scripts/python/check-perf-trace.py | |
parent | cab30a98352511c0cb3ab6deb5d06b55fe4eb10a (diff) |
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: 155055771704 ("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>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions