]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 15 Sep 2017 03:39:09 +0000 (20:39 -0700)
commit51880522dc4f59b9b29174e613d5eab9910e4152
treec1a7ea6ffa5adb3667ce98c846743927cffad0f1
parent46309ae96ab20a42c46953f013afd98232da12fb
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>
Orabug: 25879842
(cherry picked from commit b7fe10e5ebac2a3f37e95535e616494b65fa020f)
Signed-off-by: Cathy Zhou <Cathy.Zhou@Oracle.COM>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/vxlan.c
include/linux/netdevice.h
net/ipv4/fou.c