summaryrefslogtreecommitdiff
path: root/net/ipv6/ah6.c
diff options
context:
space:
mode:
authorMasahide NAKAMURA <nakam@linux-ipv6.org>2007-10-22 13:30:15 +0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-22 13:59:58 +0400
commitea2c47b42f12dadbad9d879fb6df102b9003ab82 (patch)
treed342475622a30d55c7ebe25e4663d3b688108fde /net/ipv6/ah6.c
parente3fa259bcbbca25c8e8275c8dcedcf484854465b (diff)
downloadlinux-ea2c47b42f12dadbad9d879fb6df102b9003ab82.tar.xz
[IPSEC] IPV6: Fix to add tunnel mode SA correctly.
Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ah6.c')
-rw-r--r--net/ipv6/ah6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/ah6.c b/net/ipv6/ah6.c
index 67cd06613a25..66a9139d46e9 100644
--- a/net/ipv6/ah6.c
+++ b/net/ipv6/ah6.c
@@ -483,6 +483,7 @@ static int ah6_init_state(struct xfrm_state *x)
break;
case XFRM_MODE_TUNNEL:
x->props.header_len += sizeof(struct ipv6hdr);
+ break;
default:
goto error;
}