gre: Add support for checksum unnecessary conversions
authorTom Herbert <therbert@google.com>
Sun, 31 Aug 2014 22:12:44 +0000 (15:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 04:36:28 +0000 (21:36 -0700)
commit884d338c041c2aa4536ade8620efa585e7c57f3c
tree32c9366b0be384255f9f8a27b1a56d902b0f496e
parent2abb7cdc0dc84e99b76ef983a1ae1978922aa9b3
gre: Add support for checksum unnecessary conversions

Call skb_checksum_try_convert and skb_gro_checksum_try_convert
after checksum is found present and validated in the GRE header
for normal and GRO paths respectively.

In GRO path, call skb_gro_checksum_try_convert

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/gre_demux.c
net/ipv4/gre_offload.c