Spdk/lib/vhost
Jin Yu 4539ac58ae vhost: fix vhost_blk_destroy issue
If the vhost dev can't unregister successfully then we
leave the io channel and desc. In the bdev remove callback
we will free them or It would cause heap-use-after-free
issue.

Fix github issue: #1443

Change-Id: I09f4616e181d6657add3acef0ff92336fb9a9643
Signed-off-by: Jin Yu <jin.yu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2924
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: <dongx.yi@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2020-06-19 07:19:20 +00:00
..
Makefile lib/vhost: Remove and inline spdk_vhost_blk_get_dev 2020-06-08 09:28:27 +00:00
rte_vhost_compat.c lib/vhost: remove spdk prefix from static functions in rte_vhost_compat.c 2020-05-20 14:11:31 +00:00
spdk_vhost.map lib/vhost: Remove and inline spdk_vhost_blk_get_dev 2020-06-08 09:28:27 +00:00
vhost_blk.c vhost: fix vhost_blk_destroy issue 2020-06-19 07:19:20 +00:00
vhost_internal.h vhost: set the packed ring as default 2020-06-12 15:45:27 +00:00
vhost_nvme.c lib/vhsot: remove spdk prefix from static functions in vhost_nvme.c. 2020-05-20 14:11:31 +00:00
vhost_rpc.c lib/vhost: remove spdk prefix from static functions in vhost_rpc.c 2020-05-20 14:11:31 +00:00
vhost_scsi.c lib/vhost: Remove inclusion of SPDK event library 2020-06-01 09:20:41 +00:00
vhost.c lib and module: remove remaining _spdk prefixes. 2020-06-01 13:07:30 +00:00