aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/core.c
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2016-06-13 22:00:04 +0000
committerDavid S. Miller <[email protected]>2016-06-15 21:00:33 +0000
commitdf10db98ab546e899b79d1b2b8a00a86fe8bb29d (patch)
tree758e01aab610991fe7a24ea82e5279b48445bc24 /net/tipc/core.c
parentMerge branch 'skb_array' (diff)
downloadkernel-df10db98ab546e899b79d1b2b8a00a86fe8bb29d.tar.gz
kernel-df10db98ab546e899b79d1b2b8a00a86fe8bb29d.zip
tun: fix csum generation for tap devices
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 start/offset values. Fix it by moving the helper invocation before the mac pulling. Fixes: 34166093639 ("tuntap: use common code for virtio_net_hdr and skb GSO conversion") Signed-off-by: Paolo Abeni <[email protected]> Acked-by: Mike Rapoport <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/core.c')
0 files changed, 0 insertions, 0 deletions