diff options
Diffstat (limited to 'net/ipv6/ah6.c')
-rw-r--r-- | net/ipv6/ah6.c | 1 |
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) | |||
483 | break; | 483 | break; |
484 | case XFRM_MODE_TUNNEL: | 484 | case XFRM_MODE_TUNNEL: |
485 | x->props.header_len += sizeof(struct ipv6hdr); | 485 | x->props.header_len += sizeof(struct ipv6hdr); |
486 | break; | ||
486 | default: | 487 | default: |
487 | goto error; | 488 | goto error; |
488 | } | 489 | } |