numam-spdk/lib/nvme
Chen Wang ea55b03940 nvme/nvme_rdma: free the ctrlr when creating the qpair fails
Release nvme rdma ctrlr before exit the nvme_rdma_ctrlr_construct function
when creating the admin qpair fails.

Fixes GitHub issue #363.

Change-Id: Ib988e0da2f627db06b68bd3fb72c117c52572cf8
Signed-off-by: Chen Wang <chenx.wang@intel.com>
Reviewed-on: https://review.gerrithub.io/420719
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-08-01 17:23:49 +00:00
..
Makefile nvme/rdma: factor out NVMe-oF Property Get/Set 2018-06-27 22:59:18 +00:00
nvme_ctrlr_cmd.c nvme: add Get/Set Feature wrappers with NSID 2018-06-12 17:59:33 +00:00
nvme_ctrlr_ocssd_cmd.c ocssd: check whether ctrlr support ocssd 2018-06-14 23:09:42 +00:00
nvme_ctrlr.c nvme: change the type of paramter for timeout_callback set 2018-07-19 07:18:17 +00:00
nvme_fabric.c nvme/rdma: factor out Connect command 2018-06-27 22:59:18 +00:00
nvme_internal.h nvme/pcie: make sure sq and cq are physically contiguous 2018-07-12 20:13:43 +00:00
nvme_ns_cmd.c nvme: add PI to spdk_nvme_ns_cmd_read/writev() 2018-06-12 17:40:32 +00:00
nvme_ns_ocssd_cmd.c ocssd: add chunk info list as mptr of vector reset 2018-07-09 18:54:22 +00:00
nvme_ns.c nvme: update the NS identify data according to AER 2018-05-30 17:28:03 +00:00
nvme_pcie.c nvme/pcie: make sure sq and cq are physically contiguous 2018-07-12 20:13:43 +00:00
nvme_qpair.c ocssd: apply ocssd strings into status arrays 2018-07-30 03:09:31 +00:00
nvme_quirks.c nvme: add chk_rdy quirk for some Samsung drives 2018-07-14 01:47:47 +00:00
nvme_rdma.c nvme/nvme_rdma: free the ctrlr when creating the qpair fails 2018-08-01 17:23:49 +00:00
nvme_transport.c nvmf: Add Fibre Channel defs and usage to nvme lib 2018-06-22 21:09:09 +00:00
nvme_uevent.c util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
nvme_uevent.h nvme: Add support of hotplug for vfio-attached devices. 2017-12-06 17:04:49 -05:00
nvme.c nvme: adjust physically contiguous memory comments 2018-07-05 19:08:26 +00:00