Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 679e898a authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller
Browse files

[XFRM]: Fix protocol field value for outgoing IPv6 GSO packets

parent 081bba5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)))