diff options
author | Zhengchao Shao <[email protected]> | 2022-11-19 15:08:34 +0800 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2022-11-22 16:20:08 +0200 |
commit | a115aa00b18f7b8982b8f458149632caf64a862a (patch) | |
tree | e31fc1f69782633560fb3578402a94667a157f1e /tools/perf/scripts/python/sctop.py | |
parent | 9907526d25c4ad8a6e3006487a544140776ba005 (diff) |
RDMA/hns: fix memory leak in hns_roce_alloc_mr()
When hns_roce_mr_enable() failed in hns_roce_alloc_mr(), mr_key is not
released. Compiled test only.
Fixes: 9b2cf76c9f05 ("RDMA/hns: Optimize PBL buffer allocation process")
Signed-off-by: Zhengchao Shao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions