Spdk/lib/nvmf
yidong0635 fc43fbba04 rdma: fixed heap used after free issue.
With ASAN to run this cases, it will report issue about heap used after free
in spdk_nvmf_rdma_qpair_destroy. Resources have been released before,
change the order to in this tailq to release resources.

ERROR: AddressSanitizer: heap-use-after-free on address
0x6080000080e0 at pc 0x0000006e1e3f bp 0x7fd48b6c3df0 sp 0x7fd48b6c3de0
READ of size 8 at 0x6080000080e0 thread T3 (reactor_1)
0x6e1e3e in spdk_nvmf_rdma_qpair_destroy spdk/lib/nvmf/rdma.c:813

Change-Id: Ia1c12bca84955a2de60399e6b265c9b8901bb51e
Signed-off-by: yidong0635 <dongx.yi@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/448534
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Seth Howell <seth.howell5141@gmail.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-03-21 18:00:04 +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: rename subsystem poll group's num_channels to num_ns 2019-03-15 20:45:43 +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: store registrants' host id into subsystem's poll group 2019-03-21 17:35:11 +00:00
nvmf.c nvmf: store registrants' host id into subsystem's poll group 2019-03-21 17:35:11 +00:00
rdma.c rdma: fixed heap used after free issue. 2019-03-21 18:00:04 +00:00
subsystem.c nvmf: update reservation state to subsytem poll group 2019-03-21 17:35:11 +00:00
tcp.c nvmf: Remove qpair_is_idle 2019-03-15 19:19:17 +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