]> git.hungrycats.org Git - linux/commitdiff
[IPSEC]: Revert xfrm_state use_time patch, it was wrong.
authorDavid S. Miller <davem@nuts.ninka.net>
Wed, 2 Apr 2003 21:29:30 +0000 (13:29 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Wed, 2 Apr 2003 21:29:30 +0000 (13:29 -0800)
net/ipv4/xfrm4_input.c
net/ipv6/xfrm6_input.c

index b98f9f65557f6faa0906b0a841ed02dde15fd58c..3194658deb0c1ff25e0096fcf74ae39afc90d9b6 100644 (file)
@@ -60,7 +60,6 @@ int xfrm4_rcv_encap(struct sk_buff *skb, __u16 encap_type)
 
                x->curlft.bytes += skb->len;
                x->curlft.packets++;
-               x->curlft.use_time = (unsigned long)xtime.tv_sec;
 
                spin_unlock(&x->lock);
 
index 672142ab753cd9836b9a1a96a996b8fc24ce92cf..22085cd9e909102f6aeb2c02e51f7a15aee327c3 100644 (file)
@@ -181,7 +181,6 @@ 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);