[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
@@ -2683,7 +2683,7 @@ static int rt_fill_info(struct sk_buff *skb, u32 pid, u32 seq, int event,
|
||||
id = rt->peer->ip_id_count;
|
||||
if (rt->peer->tcp_ts_stamp) {
|
||||
ts = rt->peer->tcp_ts;
|
||||
tsage = xtime.tv_sec - rt->peer->tcp_ts_stamp;
|
||||
tsage = get_seconds() - rt->peer->tcp_ts_stamp;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user