]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/xfrm/xfrm_user.c
[IPSEC]: Make x->lastused an unsigned long
[linux-2.6-omap-h63xx.git] / net / xfrm / xfrm_user.c
index c4f6419b176943bd54752c644f0b4cc937587327..6424e53605118223981f04a8e367fba72cd7dabc 100644 (file)
@@ -1986,8 +1986,8 @@ static inline size_t xfrm_sa_len(struct xfrm_state *x)
        if (x->coaddr)
                l += nla_total_size(sizeof(*x->coaddr));
 
-       /* Must count this as this may become non-zero behind our back. */
-       l += nla_total_size(sizeof(x->lastused));
+       /* Must count x->lastused as it may become non-zero behind our back. */
+       l += nla_total_size(sizeof(u64));
 
        return l;
 }