]> err.no Git - linux-2.6/commitdiff
[XFRM]: Fix protocol field value for outgoing IPv6 GSO packets
authorPatrick McHardy <kaber@trash.net>
Mon, 31 Jul 2006 03:19:11 +0000 (20:19 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 2 Aug 2006 20:38:13 +0000 (13:38 -0700)
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>
net/ipv6/xfrm6_output.c

index 0eea60ea9ebc540c243a9b02861afd47cdf9ef74..c8c8b44a0f581ee2e486ab5469ed8f9e4ba0bc81 100644 (file)
@@ -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)))