[NET]: Convert xtime.tv_sec to get_seconds()
Where appropriate, convert references to xtime.tv_sec to the get_seconds() helper function. Signed-off-by: James Morris <jmorris@namei.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
39df232f1a
commit
9d729f72dc
@@ -76,7 +76,7 @@ static int xfrm6_output_one(struct sk_buff *skb)
|
||||
x->curlft.bytes += skb->len;
|
||||
x->curlft.packets++;
|
||||
if (x->props.mode == XFRM_MODE_ROUTEOPTIMIZATION)
|
||||
x->lastused = (u64)xtime.tv_sec;
|
||||
x->lastused = get_seconds();
|
||||
|
||||
spin_unlock_bh(&x->lock);
|
||||
|
||||
|
Reference in New Issue
Block a user