diff options
author | Junxian Huang <huangjunxian6@hisilicon.com> | 2025-03-11 11:48:55 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2025-03-12 21:35:50 +0300 |
commit | 444907dd45cbe62fd69398805b6e2c626fab5b3a (patch) | |
tree | 3aee49e0a2013f0e63adc4c22c95144a8856d12f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 13c90c222049764bb7e6a1689bd785f424bd8bd5 (diff) | |
download | linux-444907dd45cbe62fd69398805b6e2c626fab5b3a.tar.xz |
RDMA/hns: Fix a missing rollback in error path of hns_roce_create_qp_common()
When ib_copy_to_udata() fails in hns_roce_create_qp_common(),
hns_roce_qp_remove() should be called in the error path to
clean up resources in hns_roce_qp_store().
Fixes: 0f00571f9433 ("RDMA/hns: Use new SQ doorbell register for HIP09")
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://patch.msgid.link/20250311084857.3803665-6-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions