+4
−1
Loading
A qpair might be destoryed when it failed to be added to a poll group (i.e. due to port down event and destroy of pollers) In that case qpair->group pointer is still valid but other rdma-specific parameters could be set incorrectly, e.g. the poller pointer might be NULL. We should check this pointer before calling nvmf_rdma_qpair_process_pending since the last function tries to dereference this pointer. Fixes issue #3655 Change-Id: Ia2b443762e3b49b21f4a2b27694dcc3b25c258af Signed-off-by:Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/25916 Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Tested-by:
SPDK Automated Test System <spdkbot@gmail.com>