Spdk/lib/nvmf
Seth Howell d156d2f771 lib/nvmf: don't free ctrlr->qpair_mask early.
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>
2020-08-11 08:34:15 +00:00
..
ctrlr_bdev.c lib/nvmf: Support custom admin cmd handler for abort 2020-07-24 07:25:47 +00:00
ctrlr_discovery.c lib/nvmf: remove spdk_ and _spdk prefix from functions. 2020-06-01 09:21:14 +00:00
ctrlr.c lib/nvmf: don't free ctrlr->qpair_mask early. 2020-08-11 08:34:15 +00:00
fc_ls.c nvmf: Remove new_qpair callback from transport accept function pointer 2020-06-18 07:29:41 +00:00
fc.c lib/nvmf: Add nvmf_transport_qpair_abort_request() 2020-07-14 07:54:42 +00:00
Makefile lib/nvmf:add spdk_nvmf_transport_stop_listen_async API. 2020-08-11 08:29:14 +00:00
nvmf_fc.h nvmf: Remove new_qpair callback from transport accept function pointer 2020-06-18 07:29:41 +00:00
nvmf_internal.h lib/nvmf: Support custom admin cmd handler for abort 2020-07-24 07:25:47 +00:00
nvmf_rpc.c nvmf/rpc: stop_listen rpc now uses the async stop listen function. 2020-08-11 08:29:14 +00:00
nvmf.c lib/nvmf: don't free ctrlr->qpair_mask early. 2020-08-11 08:34:15 +00:00
rdma.c nvmf: Add check for bidirectional xfer type 2020-08-04 18:27:45 +00:00
spdk_nvmf.map lib/nvmf:add spdk_nvmf_transport_stop_listen_async API. 2020-08-11 08:29:14 +00:00
subsystem.c lib/nvmf: remove spdk_ and _spdk prefix from functions. 2020-06-01 09:21:14 +00:00
tcp.c nvme TCP: Make the control related pdu also allocated from the SPDK DMA memory 2020-08-04 18:28:08 +00:00
transport.c lib/nvmf:add spdk_nvmf_transport_stop_listen_async API. 2020-08-11 08:29:14 +00:00
transport.h lib/nvmf: Add nvmf_transport_qpair_abort_request() 2020-07-14 07:54:42 +00:00