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

2019-04-17 Thread Maxime Coquelin
On 4/5/19 6:31 PM, 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: use any layout on

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

2019-04-17 Thread Maxime Coquelin
On 4/5/19 6:31 PM, 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: use any layout on

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

2019-04-08 Thread Jens Freimann
On Fri, Apr 05, 2019 at 09:31:15AM -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