gro: Fix remcsum offload to deal with frags in GRO
authorTom Herbert <tom@herbertland.com>
Thu, 20 Aug 2015 00:07:32 +0000 (17:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 23 Aug 2015 22:59:56 +0000 (15:59 -0700)
commitb7fe10e5ebac2a3f37e95535e616494b65fa020f
treeaf470dbfdf9a0bcca52acb7ccebd77b4969cb04d
parent9a873c71e91cabf4c10fd9bbd8358c22deaf6c9e
gro: Fix remcsum offload to deal with frags in GRO

The remote checksum offload GRO did not consider the case that frag0
might be in use. This patch fixes that by accessing headers using the
skb_gro functions and not saving offsets relative to skb->head.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c
include/linux/netdevice.h
net/ipv4/fou.c