+4
−0
Loading
Fixes #1777. When a qpair cannot be allocated because the transport connection fails, the qpair was freed without unlinking it from the other structures. This was leading to a segfault when attempting to create and free other qpairs. Also added a unit test to cover this case. Change-Id: I74b78d1847f90117248b07203b43a11ff5cfa5d6 Signed-off-by:Vasuki Manikarnike <vasuki.manikarnike@hpe.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6272 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Reviewed-by:
Michael Haeuptle <michaelhaeuptle@gmail.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
<dongx.yi@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>