]> git.baikalelectronics.ru Git - kernel.git/commit
gre: Call gso_make_checksum
authorTom Herbert <therbert@google.com>
Thu, 5 Jun 2014 00:20:23 +0000 (17:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jun 2014 05:46:38 +0000 (22:46 -0700)
commit28be3ee1b21b98d58cc49b9793f6a5c828e81a9c
treed8bef1d48e73e2e5492765ae5348f1f0dffbad1c
parentf5900b2aeb0ecf25f5b763185f7681e70d2703d4
gre: Call gso_make_checksum

Call gso_make_checksum. This should have the benefit of using a
checksum that may have been previously computed for the packet.

This also adds NETIF_F_GSO_GRE_CSUM to differentiate devices that
offload GRE GSO with and without the GRE checksum offloaed.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdev_features.h
include/linux/skbuff.h
include/net/gre.h
net/ipv4/af_inet.c
net/ipv4/gre_demux.c
net/ipv4/gre_offload.c
net/ipv4/tcp_offload.c
net/ipv4/udp_offload.c
net/ipv6/ip6_offload.c
net/ipv6/udp_offload.c
net/mpls/mpls_gso.c