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: sta...@dpdk.org

Signed-off-by: Tiwei Bie <tiwei....@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.coque...@redhat.com>

Thanks,
Maxime

Reply via email to