On 01/17/2018 04:45 PM, Junjie Chen wrote:
dequeue zero copy change buf_addr and buf_iova of mbuf, and return to mbuf pool without restore them, it breaks vm memory if others allocate mbuf from same pool since mbuf reset doesn't reset buf_addr and buf_iova. Signed-off-by: Junjie Chen <junjie.j.c...@intel.com> --- v2 changes: Remove useless restore lib/librte_vhost/virtio_net.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com> Thanks, Maxime