mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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:
parent
39df232f1a
commit
9d729f72dc
9 changed files with 26 additions and 26 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue