Re: [PATCH net-next] virtio_net: fix csum generation for virtio-net devices

2016-06-14 Thread David Miller
From: Mike Rapoport Date: Tue, 14 Jun 2016 08:29:38 +0300 > The commit e858fae2b0b8 ("virtio_net: use common code for virtio_net_hdr > and skb GSO conversion") replaced the tun code for header manipulation > with the generic helpers. While doing so, it implictly moved the > skb_partial_csum_set()

[PATCH net-next] virtio_net: fix csum generation for virtio-net devices

2016-06-13 Thread Mike Rapoport
The commit e858fae2b0b8 ("virtio_net: use common code for virtio_net_hdr and skb GSO conversion") replaced the tun code for header manipulation with the generic helpers. While doing so, it implictly moved the skb_partial_csum_set() invocation after eth_type_trans(), which invalidate the current gso