[dpdk-stable] [PATCH 1/4] vhost: restore mbuf first when freeing zmbuf

Maxime Coquelin maxime.coquelin at redhat.com
Tue Feb 26 15:41:53 CET 2019



On 2/22/19 3:42 AM, Tiwei Bie wrote:
> The mbufs should also be restored in free_zmbufs().
> 
> Fixes: b0a985d1f340 ("vhost: add dequeue zero copy")
> Fixes: 3ebd930588b7 ("vhost: fix mbuf free")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
> ---
>   lib/librte_vhost/vhost.h      | 16 ++++++++++++++++
>   lib/librte_vhost/vhost_user.c |  1 +
>   lib/librte_vhost/virtio_net.c | 16 ----------------
>   3 files changed, 17 insertions(+), 16 deletions(-)
> 

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

Thanks,
Maxime



More information about the stable mailing list