diff options
Diffstat (limited to 'net/ipv4/tcp_probe.c')
-rw-r--r-- | net/ipv4/tcp_probe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv4/tcp_probe.c b/net/ipv4/tcp_probe.c index ebf5ff57526e..f6c50af24a64 100644 --- a/net/ipv4/tcp_probe.c +++ b/net/ipv4/tcp_probe.c | |||
@@ -187,13 +187,13 @@ static int tcpprobe_sprint(char *tbuf, int n) | |||
187 | { | 187 | { |
188 | const struct tcp_log *p | 188 | const struct tcp_log *p |
189 | = tcp_probe.log + tcp_probe.tail; | 189 | = tcp_probe.log + tcp_probe.tail; |
190 | struct timespec tv | 190 | struct timespec64 ts |
191 | = ktime_to_timespec(ktime_sub(p->tstamp, tcp_probe.start)); | 191 | = ktime_to_timespec64(ktime_sub(p->tstamp, tcp_probe.start)); |
192 | 192 | ||
193 | return scnprintf(tbuf, n, | 193 | return scnprintf(tbuf, n, |
194 | "%lu.%09lu %pISpc %pISpc %d %#x %#x %u %u %u %u %u\n", | 194 | "%lu.%09lu %pISpc %pISpc %d %#x %#x %u %u %u %u %u\n", |
195 | (unsigned long)tv.tv_sec, | 195 | (unsigned long)ts.tv_sec, |
196 | (unsigned long)tv.tv_nsec, | 196 | (unsigned long)ts.tv_nsec, |
197 | &p->src, &p->dst, p->length, p->snd_nxt, p->snd_una, | 197 | &p->src, &p->dst, p->length, p->snd_nxt, p->snd_una, |
198 | p->snd_cwnd, p->ssthresh, p->snd_wnd, p->srtt, p->rcv_wnd); | 198 | p->snd_cwnd, p->ssthresh, p->snd_wnd, p->srtt, p->rcv_wnd); |
199 | } | 199 | } |