Spdk/lib/nvmf
Alexey Marchuk fdf2490a32 nvmf/rdma: Don't destroy qpair if rdma_accept fails
Failed qpair will be destroyed on generic nvmf layer during handling
of error code returned from spdk_nvmf_poll_group_add.
The current approach leads to heap-use-after-free.

Change-Id: I99331150fa36a3c3c18176589afb973dee449b3a
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3538
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2020-08-21 08:26: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 nvmf: fix the associate timeout value 2020-08-21 08:23:45 +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: make spdk_nvmf_qpair_disconnect thread safe. 2020-08-12 07:51:15 +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: Optionalize ANA reporting feature 2020-08-21 08:22:40 +00:00
nvmf_rpc.c rpc/nvmf: Add ana_reporting parameter to nvmf_create_subsystem RPC 2020-08-21 08:22:40 +00:00
nvmf.c lib/nvmf: add an in_destruct flag to the ctrlr struct 2020-08-17 08:28:49 +00:00
rdma.c nvmf/rdma: Don't destroy qpair if rdma_accept fails 2020-08-21 08:26:15 +00:00
spdk_nvmf.map lib/nvmf: Optionalize ANA reporting feature 2020-08-21 08:22:40 +00:00
subsystem.c lib/nvmf: Optionalize ANA reporting feature 2020-08-21 08:22:40 +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 nvmf: fix the associate timeout value 2020-08-21 08:23:45 +00:00
transport.h lib/nvmf: Add nvmf_transport_qpair_abort_request() 2020-07-14 07:54:42 +00:00