diff options
| author | 2026-04-28 13:17:39 -0300 | |
|---|---|---|
| committer | 2026-05-02 15:30:48 -0300 | |
| commit | 34ecf795692ee57c393109f4a24ccc313091e137 (patch) | |
| tree | 9249172a84034170f5cf19b78b5970007106e242 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | RDMA/mana: Remove user triggerable WARN_ON() in mana_ib_create_qp_rss() (diff) | |
RDMA/mana: Fix mana_destroy_wq_obj() cleanup in mana_ib_create_qp_rss()
Sashiko points out there are two bugs here in the error unwind flow, both
related to how the WQ table is unwound.
First there is a double i-- on the first failure path due to the while loop
having a i--, remove it.
Second if mana_ib_install_cq_cb() fails then mana_create_wq_obj() is not
undone due to the above i--.
Cc: stable@vger.kernel.org
Fixes: c15d7802a424 ("RDMA/mana_ib: Add CQ interrupt support for RAW QP")
Link: https://sashiko.dev/#/patchset/0-v2-1c49eeb88c48%2B91-rdma_udata_rep_jgg%40nvidia.com?part=1
Link: https://patch.msgid.link/r/6-v1-41f3135e5565+9d2-rdma_ai_fixes1_jgg@nvidia.com
Reviewed-by: Long Li <longli@microsoft.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
