[XFRM] IPV6: Update outbound state timestamp for each sending.
[linux-2.6.git] / net / xfrm / xfrm_user.c
index 939808d..f643063 100644 (file)
@@ -595,6 +595,9 @@ static int dump_one_state(struct xfrm_state *x, int count, void *ptr)
        if (x->coaddr)
                RTA_PUT(skb, XFRMA_COADDR, sizeof(*x->coaddr), x->coaddr);
 
+       if (x->lastused)
+               RTA_PUT(skb, XFRMA_LASTUSED, sizeof(x->lastused), &x->lastused);
+
        nlh->nlmsg_len = skb->tail - b;
 out:
        sp->this_idx++;