Commit 2348a17b authored by David S. Miller's avatar David S. Miller

[IPSEC]: Revert xfrm_state use_time patch, it was wrong.

parent cbc34886
...@@ -60,7 +60,6 @@ int xfrm4_rcv_encap(struct sk_buff *skb, __u16 encap_type) ...@@ -60,7 +60,6 @@ int xfrm4_rcv_encap(struct sk_buff *skb, __u16 encap_type)
x->curlft.bytes += skb->len; x->curlft.bytes += skb->len;
x->curlft.packets++; x->curlft.packets++;
x->curlft.use_time = (unsigned long)xtime.tv_sec;
spin_unlock(&x->lock); spin_unlock(&x->lock);
......
...@@ -181,7 +181,6 @@ int xfrm6_rcv(struct sk_buff **pskb) ...@@ -181,7 +181,6 @@ int xfrm6_rcv(struct sk_buff **pskb)
x->curlft.bytes += skb->len; x->curlft.bytes += skb->len;
x->curlft.packets++; x->curlft.packets++;
x->curlft.use_time = (unsigned long)xtime.tv_sec;
spin_unlock(&x->lock); 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