Re: [PATCH net-next] tun: fix csum generation for tap devices

2016-06-15 Thread David Miller
From: Paolo Abeni Date: Tue, 14 Jun 2016 00:00:04 +0200 > The commit 34166093639b ("tuntap: 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 >

Re: [PATCH net-next] tun: fix csum generation for tap devices

2016-06-13 Thread Mike Rapoport
On Tue, Jun 14, 2016 at 12:00:04AM +0200, Paolo Abeni wrote: > The commit 34166093639b ("tuntap: 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] tun: fix csum generation for tap devices

2016-06-13 Thread Paolo Abeni
The commit 34166093639b ("tuntap: 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