[XFRM]: Fix IPv4 tunnel mode decapsulation with IPV6=n
authorPatrick McHardy <kaber@trash.net>
Tue, 13 Feb 2007 04:27:10 +0000 (20:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Feb 2007 04:27:10 +0000 (20:27 -0800)
Add missing break when CONFIG_IPV6=n.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/xfrm4_mode_tunnel.c

index e54c5494c88ffbf7d8d5b9733061e13b282a4f2c..e1cab33fdad1333506ce906b453e11ec8feee6bc 100644 (file)
@@ -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;