Files
linux/drivers/net
Paolo Abeni df10db98ab tun: fix csum generation for tap devices
The commit 3416609363 ("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 start/offset values.
Fix it by moving the helper invocation before the mac pulling.

Fixes: 3416609363 ("tuntap: use common code for virtio_net_hdr and skb GSO conversion")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Acked-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-15 14:00:33 -07:00
..
2016-06-09 22:21:29 -07:00
2016-06-15 12:17:57 -07:00
2016-01-25 10:51:52 -08:00
2016-06-14 22:37:48 -07:00
2016-05-09 00:00:28 -04:00
2016-04-26 15:53:05 -04:00
2016-06-15 14:00:33 -07:00