diff options
Diffstat (limited to 'net/ipv6/esp6.c')
-rw-r--r-- | net/ipv6/esp6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/esp6.c b/net/ipv6/esp6.c index b0715432e454..72a659806cad 100644 --- a/net/ipv6/esp6.c +++ b/net/ipv6/esp6.c | |||
@@ -360,6 +360,7 @@ static int esp6_init_state(struct xfrm_state *x) | |||
360 | break; | 360 | break; |
361 | case XFRM_MODE_TUNNEL: | 361 | case XFRM_MODE_TUNNEL: |
362 | x->props.header_len += sizeof(struct ipv6hdr); | 362 | x->props.header_len += sizeof(struct ipv6hdr); |
363 | break; | ||
363 | default: | 364 | default: |
364 | goto error; | 365 | goto error; |
365 | } | 366 | } |