+2
−1
Loading
nvmf_rdma_handle_last_wqe_reached() may have freed the qpair, so we can't set the qpair's ctx to NULL after it returns, we need to do it before. We also need to set the qpair's ctx pointer to NULL in the clean_ibv_events() function. Setting the ctx pointer to NULL is now done in the exact places that the STAILQ_REMOVE was done before the recent refactoring. Fixes: 43f6d338 ("nvmf: remove use of STAILQ for last_wqe events") Fixes issue #3541. Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: Ia1acfcc18b1d499174065d869d24d2be91ae1557 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25065 Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>