summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_lp.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-10-20 14:57:43 +0200
committerDavid S. Miller <davem@davemloft.net>2023-10-23 10:35:01 +0200
commit9d0c00f5ca05be9e89649c156f9d5b9421fc534e (patch)
treee9c00f8f79f0d5b4b8d0a1a5f60596519bcf6518 /net/ipv4/tcp_lp.c
parenttcp: move tcp_ns_to_ts() to net/ipv4/syncookies.c (diff)
downloadlinux-9d0c00f5ca05be9e89649c156f9d5b9421fc534e.tar.xz
linux-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 <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_lp.c')
-rw-r--r--net/ipv4/tcp_lp.c2
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)