diff options
Diffstat (limited to 'net/xfrm/xfrm_user.c')
-rw-r--r-- | net/xfrm/xfrm_user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index c4f6419b1769..6424e5360511 100644 --- a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c | |||
@@ -1986,8 +1986,8 @@ static inline size_t xfrm_sa_len(struct xfrm_state *x) | |||
1986 | if (x->coaddr) | 1986 | if (x->coaddr) |
1987 | l += nla_total_size(sizeof(*x->coaddr)); | 1987 | l += nla_total_size(sizeof(*x->coaddr)); |
1988 | 1988 | ||
1989 | /* Must count this as this may become non-zero behind our back. */ | 1989 | /* Must count x->lastused as it may become non-zero behind our back. */ |
1990 | l += nla_total_size(sizeof(x->lastused)); | 1990 | l += nla_total_size(sizeof(u64)); |
1991 | 1991 | ||
1992 | return l; | 1992 | return l; |
1993 | } | 1993 | } |