> -----Original Message-----
> From: Ma, WenwuX <[email protected]>
> Sent: Thursday, July 14, 2022 1:11 PM
> To: [email protected]; Xia, Chenbo <[email protected]>;
> [email protected]
> Cc: Hu, Jiayu <[email protected]>; Wang, Yinan <[email protected]>; He,
> Xingguang <[email protected]>; Ling, WeiX <[email protected]>; Wang,
> YuanX <[email protected]>; Ma, WenwuX <[email protected]>;
> [email protected]
> Subject: [PATCH] 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: [email protected]
> 
> Signed-off-by: Wenwu Ma <[email protected]>
> ---
>  examples/vhost/main.c | 19 ++++++++++++-------
>  1 file changed, 12 insertions(+), 7 deletions(-)
> 

As discussed in yesterday's release meeting, this issue should have minor 
impact,
so the fix could be moved to next release.

Thanks,
Chenbo

Reply via email to