Re: [dpdk-dev] [PATCH] virtio: fix buffer leak on vlan insert

2019-04-05 Thread Jens Freimann
On Thu, Apr 04, 2019 at 05:03:43PM -0700, Stephen Hemminger wrote: The function rte_vlan_insert may allocate a new buffer for the vlan header and return a different mbuf than originally passed. In this case, the stored mbuf in txm[] array could point to wrong buffer. Fixes: dd856dfcb9e7 ("virtio

[dpdk-dev] [PATCH] virtio: fix buffer leak on vlan insert

2019-04-04 Thread Stephen Hemminger
The function rte_vlan_insert may allocate a new buffer for the vlan header and return a different mbuf than originally passed. In this case, the stored mbuf in txm[] array could point to wrong buffer. Fixes: dd856dfcb9e7 ("virtio: use any layout on Tx") Signed-off-by: Stephen Hemminger --- drive