[dpdk-dev] [PATCH 3/3] vhost: protect vring access done by application

Maxime Coquelin maxime.coquelin at redhat.com
Fri Sep 27 10:25:40 CEST 2019



On 8/19/19 1:34 PM, Tiwei Bie wrote:
> Besides the enqueue/dequeue API, other APIs of the builtin net
> backend should also be protected.
> 
> Fixes: a3688046995f ("vhost: protect active rings from async ring changes")
> Cc: stable at dpdk.org
> 
> Reported-by: Peng He <xnhp0320 at icloud.com>
> Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
> ---
>  lib/librte_vhost/vhost.c | 50 +++++++++++++++++++++++++++++++---------
>  1 file changed, 39 insertions(+), 11 deletions(-)
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list