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: 1907ce4baec3 ("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
..
2022-01-11 12:16:53 +01:00
2022-04-14 14:38:20 +02:00
2021-10-24 13:37:43 +02:00
2021-07-31 15:42:43 +02:00
2022-06-30 06:54:21 +02:00
2022-09-21 15:31:03 +02:00
2022-09-21 15:31:03 +02:00
2022-09-23 16:14:34 +02:00
2022-09-21 15:31:03 +02:00
2022-09-21 15:31:03 +02:00
2022-03-08 14:17:27 +01:00
2021-11-16 16:22:26 +01:00
2021-07-31 15:42:43 +02:00
2021-10-24 13:37:43 +02:00
2022-09-23 16:14:33 +02:00
2022-06-07 16:44:21 +02:00
2022-09-27 18:20:35 +02:00
2021-10-22 18:15:38 +02:00
2022-03-08 14:27:11 +01:00
2021-10-25 22:31:53 +02:00
2022-02-12 12:07:48 +01:00
2022-06-01 16:26:35 +02:00
2022-09-27 15:41:39 +02:00
2022-01-11 12:16:53 +01:00
2021-10-25 18:20:59 +02:00
2022-09-27 15:41:39 +02:00
2021-10-22 18:15:38 +02:00
2022-09-21 15:31:03 +02:00
2022-07-08 16:44:04 +02:00
2022-09-23 16:14:34 +02:00
2022-09-21 15:31:03 +02:00
2022-09-21 15:31:03 +02:00
2022-09-25 16:02:25 +02:00
2022-09-21 15:31:03 +02:00
2022-09-21 15:31:03 +02:00
2022-09-21 15:31:03 +02:00
2022-09-21 15:31:03 +02:00
2022-09-21 15:31:03 +02:00
2021-09-16 17:31:03 +02:00
2022-09-21 15:31:03 +02:00
2021-07-31 15:42:43 +02:00
2022-09-23 16:14:34 +02:00
2022-09-29 10:13:22 +02:00
2022-09-21 15:31:03 +02:00
2021-11-10 11:42:34 +01:00
2022-09-21 15:31:03 +02:00
2022-01-11 12:16:53 +01:00
2021-10-22 18:15:38 +02:00
2022-06-30 06:54:21 +02:00