Re: [PATCH net-next] virtio-net: don't do header check for dodgy gso packets

2014-12-03 Thread Michael S. Tsirkin
On Wed, Dec 03, 2014 at 02:40:44PM +0800, Jason Wang wrote: > There's no need to do header check for virito-net since: s/virito/virtio/ > > - Host set dodgy for all gso packets from guest and check the header. s/set/sets/ > - Host should prepare for all kinds of evil packets from guest, since

[PATCH net-next] virtio-net: don't do header check for dodgy gso packets

2014-12-02 Thread Jason Wang
There's no need to do header check for virito-net since: - Host set dodgy for all gso packets from guest and check the header. - Host should prepare for all kinds of evil packets from guest, since malicious guest can send any kinds of packet. So this patch sets NETIF_F_GSO_ROBUST for virtio-net