diff options
| author | Eric Dumazet <[email protected]> | 2023-10-20 12:57:43 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-10-23 08:35:01 +0000 |
| commit | 9d0c00f5ca05be9e89649c156f9d5b9421fc534e (patch) | |
| tree | e9c00f8f79f0d5b4b8d0a1a5f60596519bcf6518 /net/ipv4/tcp_lp.c | |
| parent | tcp: move tcp_ns_to_ts() to net/ipv4/syncookies.c (diff) | |
| download | kernel-9d0c00f5ca05be9e89649c156f9d5b9421fc534e.tar.gz kernel-9d0c00f5ca05be9e89649c156f9d5b9421fc534e.zip | |
tcp: rename tcp_time_stamp() to tcp_time_stamp_ts()
This helper returns a TSval from a TCP socket.
It currently calls tcp_time_stamp_ms() but will soon
be able to return a usec based TSval, depending
on an upcoming tp->tcp_usec_ts field.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_lp.c')
| -rw-r--r-- | net/ipv4/tcp_lp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_lp.c b/net/ipv4/tcp_lp.c index ae36780977d2..52fe17167460 100644 --- a/net/ipv4/tcp_lp.c +++ b/net/ipv4/tcp_lp.c @@ -272,7 +272,7 @@ static void tcp_lp_pkts_acked(struct sock *sk, const struct ack_sample *sample) { struct tcp_sock *tp = tcp_sk(sk); struct lp *lp = inet_csk_ca(sk); - u32 now = tcp_time_stamp(tp); + u32 now = tcp_time_stamp_ts(tp); u32 delta; if (sample->rtt_us > 0) |
