Spdk/lib/nvmf
JinYu dd90ff7a21 nvmf/rdma: fix bugs in spdk_nvmf_rdma_qpair_destroy
Rqpair qp and resources maybe not be created, if rqpair fail to
initialise. For example, in function new_qpair, the code run to
spdk_nvmf_qpair_disconnect, but rqpair is initialised in
poll_group_add.

Fix #557 segmentaion fault(core dump)

Change-Id: I1892e6d13e2d53dd5a7c4856d775f9b3b85da961
Signed-off-by: JinYu <jin.yu@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/450986
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Seth Howell <seth.howell5141@gmail.com>
Reviewed-by: Hailiang Wang <hailiangx.e.wang@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-04-18 21:47:57 +00:00
..
ctrlr_bdev.c nvmf: set controller/namespace identify data to enable reservation 2019-03-08 20:55:10 +00:00
ctrlr_discovery.c nvmf: Only present subsystem if it is ready 2019-01-07 06:02:26 +00:00
ctrlr.c nvmf: generate reservation notification log pages 2019-04-12 01:25:39 +00:00
Makefile nvmf: Collapse request.c into ctrlr.c 2019-02-04 18:11:33 +00:00
nvmf_fc.h lib/nvmf: fix a typo error 2018-10-12 17:40:16 +00:00
nvmf_internal.h nvmf: generate reservation notification log pages 2019-04-12 01:25:39 +00:00
nvmf.c nvmf: update the subsystem poll group's reservation information correctly 2019-04-11 01:13:59 +00:00
rdma.c nvmf/rdma: fix bugs in spdk_nvmf_rdma_qpair_destroy 2019-04-18 21:47:57 +00:00
subsystem.c nvmf: generate reservation notification log pages 2019-04-12 01:25:39 +00:00
tcp.c nvme/tcp: Replace the data with iov in pdu struct 2019-04-04 14:28:09 +00:00
transport.c nvmf: Remove qpair_is_idle 2019-03-15 19:19:17 +00:00
transport.h nvmf: Remove qpair_is_idle 2019-03-15 19:19:17 +00:00