From: Jason Wang <jasowang@xxxxxxxxxx> Date: Thu, 29 Nov 2018 13:53:16 +0800 > We copy vnet header unconditionally in page_to_skb() this is wrong > since XDP may modify the packet data. So let's keep a zeroed vnet > header for not confusing the conversion between vnet header and skb > metadata. > > In the future, we should able to detect whether or not the packet was > modified and keep using the vnet header when packet was not touched. > > Fixes: f600b6905015 ("virtio_net: Add XDP support") > Reported-by: Pavel Popa <pashinho1990@xxxxxxxxx> > Signed-off-by: Jason Wang <jasowang@xxxxxxxxxx> Applied and queued up for -stable, thanks. _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization