]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-net: correctly xmit linearized page on XDP_TX
authorJason Wang <jasowang@redhat.com>
Fri, 23 Dec 2016 14:37:25 +0000 (22:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Dec 2016 18:48:54 +0000 (13:48 -0500)
commit9a80eeb203f9d5694b2bf9d60499d8da0b5da536
tree7f89c6cb0ab4b8898eda6aaea9ef1dbf02d5f2da
parent1de9530b1c8b26543651f81406d32ceb6b06ff4c
virtio-net: correctly xmit linearized page on XDP_TX

After we linearize page, we should xmit this page instead of the page
of first buffer which may lead unexpected result. With this patch, we
can see correct packet during XDP_TX.

Cc: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c