+2
−9
Loading
When rdma_accept fails we destoy a qpair immediately, however if SRQ is disabled, qpair already posted RECV WRs to the shared CQ. Later when we poll the CQ, we can reap these RECV WRs while the qpair is already destroyed. That may lead to the app crash. To fix this issue, destroy qpair in the uninitilized state in regular way - wait for all resources to be released Signed-off-by:Alexey Marchuk <alexeymar@nvidia.com> Change-Id: Iec2c0d712de981a531b3696cf43b49ef92ff6f6e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25011 Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Reviewed-by:
Alex Michon <amichon@kalrayinc.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Community-CI: Mellanox Build Bot