Skip to content

Commit ca4aa97

Browse files
NicolasDichteldavem330
authored andcommitted
ipv6: fix 4in6 tunnel receive path
Protocol for 4in6 tunnel is IPPROTO_IPIP. This was wrongly changed by the last cleanup. CC: Tom Herbert <tom@herbertland.com> Fixes: 0d3c703 ("ipv6: Cleanup IPv6 tunnel receive path") Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 756ee17 commit ca4aa97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/ipv6/ip6_tunnel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ static int ipxip6_rcv(struct sk_buff *skb, u8 ipproto,
897897

898898
static int ip4ip6_rcv(struct sk_buff *skb)
899899
{
900-
return ipxip6_rcv(skb, IPPROTO_IP, &tpi_v4,
900+
return ipxip6_rcv(skb, IPPROTO_IPIP, &tpi_v4,
901901
ip4ip6_dscp_ecn_decapsulate);
902902
}
903903

0 commit comments

Comments
 (0)