diff options
| author | 2026-04-28 13:17:47 -0300 | |
|---|---|---|
| committer | 2026-05-02 15:30:48 -0300 | |
| commit | 7d51783d82fea000a9ce96fa1dcf3e0a8cedc4fb (patch) | |
| tree | 181ad0d04899686d967b0d42520efb81a67fe838 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | RDMA/hns: Fix xarray race in hns_roce_create_srq() (diff) | |
RDMA/hns: Fix xarray race in hns_roce_create_qp_common()
Similar to the SRQ case the hr_qp is stored in the xarray before it is
fully initialized. Unlike the SRQ case the error unwinds do not wait for
the completion so keep the refcount 0 until the function succeeds.
Fixes: 9a4435375cd1 ("IB/hns: Add driver files for hns RoCE driver")
Link: https://patch.msgid.link/r/14-v1-41f3135e5565+9d2-rdma_ai_fixes1_jgg@nvidia.com
Suggested-by: Junxian Huang <huangjunxian6@hisilicon.com>
Reviewed-by: Junxian Huang <huangjunxian6@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
