diff options
author | Tom Herbert <tom@herbertland.com> | 2016-05-18 12:06:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-20 18:03:17 -0400 |
commit | 815d22e55b0eba3bfb8f0ba532ce9ae364fee556 (patch) | |
tree | ca22cbfb6a5cc83129b0a0e8a19c3e42e0824bc7 /net/ipv6/ip6_tunnel.c | |
parent | 51c052d4f5871554377278762065450b4e64f6d1 (diff) |
ip6ip6: Support for GSO/GRO
Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_tunnel.c')
-rw-r--r-- | net/ipv6/ip6_tunnel.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index cabf492a56dc..d26d2269abec 100644 --- a/net/ipv6/ip6_tunnel.c +++ b/net/ipv6/ip6_tunnel.c | |||
@@ -1242,6 +1242,11 @@ ip6ip6_tnl_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1242 | if (t->parms.flags & IP6_TNL_F_USE_ORIG_FWMARK) | 1242 | if (t->parms.flags & IP6_TNL_F_USE_ORIG_FWMARK) |
1243 | fl6.flowi6_mark = skb->mark; | 1243 | fl6.flowi6_mark = skb->mark; |
1244 | 1244 | ||
1245 | if (iptunnel_handle_offloads(skb, SKB_GSO_IPXIP6)) | ||
1246 | return -1; | ||
1247 | |||
1248 | skb_set_inner_ipproto(skb, IPPROTO_IPV6); | ||
1249 | |||
1245 | err = ip6_tnl_xmit(skb, dev, dsfield, &fl6, encap_limit, &mtu, | 1250 | err = ip6_tnl_xmit(skb, dev, dsfield, &fl6, encap_limit, &mtu, |
1246 | IPPROTO_IPV6); | 1251 | IPPROTO_IPV6); |
1247 | if (err != 0) { | 1252 | if (err != 0) { |