From: Patrick McHardy Date: Tue, 13 Feb 2007 04:27:10 +0000 (-0800) Subject: [XFRM]: Fix IPv4 tunnel mode decapsulation with IPV6=n X-Git-Tag: v2.6.21-rc1~273^2~2^2~16 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e2e01bfef8399c8f39c9fdf4a5576039069e760c;p=karo-tx-linux.git [XFRM]: Fix IPv4 tunnel mode decapsulation with IPV6=n Add missing break when CONFIG_IPV6=n. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- diff --git a/net/ipv4/xfrm4_mode_tunnel.c b/net/ipv4/xfrm4_mode_tunnel.c index e54c5494c88f..e1cab33fdad1 100644 --- a/net/ipv4/xfrm4_mode_tunnel.c +++ b/net/ipv4/xfrm4_mode_tunnel.c @@ -95,6 +95,7 @@ static int xfrm4_tunnel_input(struct xfrm_state *x, struct sk_buff *skb) switch(iph->protocol){ case IPPROTO_IPIP: + break; #if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE) case IPPROTO_IPV6: break;