Commit 450609e5 authored by Jean-Francois Dive's avatar Jean-Francois Dive Committed by David S. Miller

[IPSEC]: Missing xfrm_state use_time updates.

parent 52d4673b
......@@ -49,6 +49,7 @@ int xfrm4_rcv(struct sk_buff *skb)
x->curlft.bytes += skb->len;
x->curlft.packets++;
x->curlft.use_time = (unsigned long)xtime.tv_sec;
spin_unlock(&x->lock);
......
......@@ -181,6 +181,7 @@ int xfrm6_rcv(struct sk_buff **pskb)
x->curlft.bytes += skb->len;
x->curlft.packets++;
x->curlft.use_time = (unsigned long)xtime.tv_sec;
spin_unlock(&x->lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment