summaryrefslogtreecommitdiff
path: root/net/ipv4/xfrm4_mode_tunnel.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-02-13 07:27:10 +0300
committerDavid S. Miller <davem@davemloft.net>2007-02-13 07:27:10 +0300
commite2e01bfef8399c8f39c9fdf4a5576039069e760c (patch)
tree14d0a5abdb53ae69e74be03c6bf4a452ce42379e /net/ipv4/xfrm4_mode_tunnel.c
parent6e1d9d04c4004361fb327abcbde74a20e8dca2ff (diff)
downloadlinux-e2e01bfef8399c8f39c9fdf4a5576039069e760c.tar.xz
[XFRM]: Fix IPv4 tunnel mode decapsulation with IPV6=n
Add missing break when CONFIG_IPV6=n. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_mode_tunnel.c')
-rw-r--r--net/ipv4/xfrm4_mode_tunnel.c1
1 files changed, 1 insertions, 0 deletions
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;