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 Tx") Signed-off-by: Stephen Hemminger <step...@networkplumber.org> --- v2 - catch a couple more places. The virtio code needs some refactoring to not have 3 copies of same loop... drivers/net/virtio/virtio_rxtx.c | 6 ++++++ 1 file changed, 6 insertions(+)
Applied to dpdk-next-virtio/master. Note that I fixed the commit title so that it passes check-git-log script. Thanks, Maxime