tcp: gro: add checksuming helpers
authorEric Dumazet <edumazet@google.com>
Thu, 27 Sep 2012 02:14:53 +0000 (02:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Oct 2012 21:00:27 +0000 (17:00 -0400)
commit861b650101eb0c627d171eb18de81dddb93d395e
tree07c0b874476d6d82f8618c071402e742b1705b66
parent64c6d08e6490fb18cea09bb03686c149946bd818
tcp: gro: add checksuming helpers

skb with CHECKSUM_NONE cant currently be handled by GRO, and
we notice this deep in GRO stack in tcp[46]_gro_receive()

But there are cases where GRO can be a benefit, even with a lack
of checksums.

This preliminary work is needed to add GRO support
to tunnels.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c