diff options
author | Junxian Huang <huangjunxian6@hisilicon.com> | 2025-03-11 11:48:53 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2025-03-12 21:35:50 +0300 |
commit | b9f59a24ba35a7d955a9f8e148dd9f85b7b40a01 (patch) | |
tree | 30233f6fce40ae523c342002a4a0a7fcd16ec89f /tools/perf/scripts/python/libxed.py | |
parent | 25655580136de59ec89f09089dd28008ea440fc9 (diff) | |
download | linux-b9f59a24ba35a7d955a9f8e148dd9f85b7b40a01.tar.xz |
RDMA/hns: Fix unmatched condition in error path of alloc_user_qp_db()
Currently the condition of unmapping sdb in error path is not exactly
the same as the condition of mapping in alloc_user_qp_db(). This may
cause a problem of unmapping an unmapped db in some case, such as
when the QP is XRC TGT. Unified the two conditions.
Fixes: 90ae0b57e4a5 ("RDMA/hns: Combine enable flags of qp")
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://patch.msgid.link/20250311084857.3803665-4-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions