numam-dpdk/examples/vhost
Wenwu Ma 40abb903fe examples/vhost: fix use after free
In async_enqueue_pkts(), the failed pkts will
be freed before return, but, the failed pkts may be
retried later, it will cause use after free. So,
we free the failed pkts after retry.

Fixes: 1907ce4bae ("examples/vhost: fix retry logic on Rx path")
Cc: stable@dpdk.org

Signed-off-by: Wenwu Ma <wenwux.ma@intel.com>
Tested-by: Wei Ling <weix.ling@intel.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
2022-09-29 10:13:22 +02:00
..
main.c examples/vhost: fix use after free 2022-09-29 10:13:22 +02:00
main.h examples/vhost: support async dequeue data path 2022-06-01 11:50:09 +02:00
Makefile examples/vhost: update makefile to match Meson build 2022-07-01 15:49:49 +02:00
meson.build vhost: integrate dmadev in asynchronous data-path 2022-02-10 15:59:17 +01:00
virtio_net.c eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00