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: [email protected]
Signed-off-by: Tiwei Bie <[email protected]>
---
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 <[email protected]>
Thanks,
Maxime