+6
−1
Loading
Purpose: If the qp creates in a failure state, we should set cm_id = NULL, then we do not need to destroy the qp which is not created. Also this patch add return value check while calling spdk_nvmf_rdma_qpair_initialize. Change-Id: I084c186738fcf6079cb36666f68e10b906e77145 Signed-off-by:Ziye Yang <optimistyzy@gmail.com> Reviewed-on: https://review.gerrithub.io/394016 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>