+8
−0
Loading
This is a workaround but is necessary to fix the github issue #2874. Due to some unknown reason, in nightly test with Intel e810 NICs when a qpair is created with synchronous mode and connection errors are detected, the qpair is destroyed even if requests for the qpair are still inflight. Then, nvme_rdma_process_recv_completion() causes NULL pointer acccess. To fix this NULL pointer access, change nvme_rdma_process_recv_completion() to return immediately if rsp->rqpair is NULL. Add a TODO comment to find a root cause and really fix the issue. One of the fixes for the issue #2874. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Ic810922f7ea1b32373b15f4e0cf7c2429659cbab Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16431 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>