summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-07-30 20:19:11 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-08-02 13:38:13 -0700
commit679e898a4742d4a4a47430b67fd68a789a73dcfd (patch)
tree683d2cdff658ec54bbab77e64c9fafee8e5aa73f /net/ipv6
parent081bba5b3ace5698eccf2f1a378cd4a9a4c98a85 (diff)
downloadop-kernel-dev-679e898a4742d4a4a47430b67fd68a789a73dcfd.zip
op-kernel-dev-679e898a4742d4a4a47430b67fd68a789a73dcfd.tar.gz
[XFRM]: Fix protocol field value for outgoing IPv6 GSO packets
Signed-off-by: Patrick McHardy <kaber@trash.net> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/xfrm6_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/xfrm6_output.c b/net/ipv6/xfrm6_output.c
index 0eea60e..c8c8b44 100644
--- a/net/ipv6/xfrm6_output.c
+++ b/net/ipv6/xfrm6_output.c
@@ -125,7 +125,7 @@ static int xfrm6_output_finish(struct sk_buff *skb)
if (!skb_is_gso(skb))
return xfrm6_output_finish2(skb);
- skb->protocol = htons(ETH_P_IP);
+ skb->protocol = htons(ETH_P_IPV6);
segs = skb_gso_segment(skb, 0);
kfree_skb(skb);
if (unlikely(IS_ERR(segs)))
OpenPOWER on IntegriCloud