diff options
author | Tom Herbert <therbert@google.com> | 2014-06-04 20:20:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-05 01:46:38 -0400 |
commit | 4749c09c37030ccdc44aecebe0f71b02a377fc14 (patch) | |
tree | d8bef1d48e73e2e5492765ae5348f1f0dffbad1c /net/ipv6/udp_offload.c | |
parent | 0f4f4ffa7b7c3d29d0537a126145c9f8d8ed5dbc (diff) |
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>
Diffstat (limited to 'net/ipv6/udp_offload.c')
-rw-r--r-- | net/ipv6/udp_offload.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/udp_offload.c b/net/ipv6/udp_offload.c index 79da8b305ced..0ae3d98f83e0 100644 --- a/net/ipv6/udp_offload.c +++ b/net/ipv6/udp_offload.c | |||
@@ -65,6 +65,7 @@ static struct sk_buff *udp6_ufo_fragment(struct sk_buff *skb, | |||
65 | SKB_GSO_UDP_TUNNEL | | 65 | SKB_GSO_UDP_TUNNEL | |
66 | SKB_GSO_UDP_TUNNEL_CSUM | | 66 | SKB_GSO_UDP_TUNNEL_CSUM | |
67 | SKB_GSO_GRE | | 67 | SKB_GSO_GRE | |
68 | SKB_GSO_GRE_CSUM | | ||
68 | SKB_GSO_IPIP | | 69 | SKB_GSO_IPIP | |
69 | SKB_GSO_SIT | | 70 | SKB_GSO_SIT | |
70 | SKB_GSO_MPLS) || | 71 | SKB_GSO_MPLS) || |