On Thu, Jan 18, 2018 at 09:44:41AM +0100, Maxime Coquelin wrote: > > > 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>
Applied to dpdk-next-virtio, with below addings: Fixes: b0a985d1f340 ("vhost: add dequeue zero copy") Cc: sta...@dpdk.org Thanks. --yliu