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_output.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_output.c')
| -rw-r--r-- | net/ipv4/tcp_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index 03a2a9fc0dc1..a1fec8be9ac3 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c @@ -3961,7 +3961,7 @@ int tcp_connect(struct sock *sk) tcp_init_nondata_skb(buff, tp->write_seq++, TCPHDR_SYN); tcp_mstamp_refresh(tp); - tp->retrans_stamp = tcp_time_stamp(tp); + tp->retrans_stamp = tcp_time_stamp_ts(tp); tcp_connect_queue_skb(sk, buff); tcp_ecn_send_syn(sk, buff); tcp_rbtree_insert(&sk->tcp_rtx_queue, buff); |
