Spdk/lib/vhost
Li Feng 73f61bcdc1 vhost: fix the memory free in submit_inflight_desc
SPDK shouldn't use `free` to free the memory allocated by rte_zmalloc_socket.
Otherwises, the vhost-blk/scsi will continuously crash.

In this patch, SPDK don't free the dpdk allocated memory,
DPDK will free it finally. Add a flag to indice the resubmit handle.

Change-Id: I85fd84b7d27a091830006a0f84d541c48290cbb3
Signed-off-by: Li Feng <fengli@smartx.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10383
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
2021-12-02 08:09:18 +00:00
..
Makefile so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
rte_vhost_compat.c lib/vhost: Fix compilation with dpdk 21.11 2021-11-16 09:06:54 +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 the memory free in submit_inflight_desc 2021-12-02 08:09:18 +00:00
vhost_internal.h vhost-blk: add set interrupt mode to poller 2021-04-23 18:09:54 +00:00
vhost_rpc.c vhost-blk: recover ring base when reconnect 2021-01-15 08:30:18 +00:00
vhost_scsi.c vhost: fix the memory free in submit_inflight_desc 2021-12-02 08:09:18 +00:00
vhost.c vhost: stop started session in session_shutdown 2021-11-11 23:23:06 +00:00