+1
−1
+0
−2
Loading
There are 2 messages passed between when _nvmf_ctrlr_free_from_qpair is executed and when nvmf_ctrlr_destruct is executed. That leaves time when the controller->qpair_mask is not a valid pointer, but it is still in the subsystem controllers list. The purpose of this patch is to close that hole. It is part of a larger series aimed at cleaning up the controller destruct path. Signed-off-by:Seth Howell <seth.howell@intel.com> Change-Id: I0c0199c8392ee278f36df56f599beb10e7a46948 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3685 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>