diff options
author | Eric Dumazet <edumazet@google.com> | 2025-06-26 15:30:17 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-06-27 15:34:19 -0700 |
commit | cf56a98202970adf298df5caaa225ed68350e9ab (patch) | |
tree | 740d72c61f2bfa5a1e6a2e0a3982d2beb906a852 /net/ipv4/tcp_output.c | |
parent | 8d68411a128705f86da7f037e1c33d81786fee96 (diff) |
tcp: remove inet_rtx_syn_ack()
inet_rtx_syn_ack() is a simple wrapper around tcp_rtx_synack(),
if we move req->num_retrans update.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250626153017.2156274-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r-- | net/ipv4/tcp_output.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index 28f840724fe8..b616776e3354 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c @@ -4425,6 +4425,7 @@ int tcp_rtx_synack(const struct sock *sk, struct request_sock *req) tcp_sk_rw(sk)->total_retrans++; } trace_tcp_retransmit_synack(sk, req); + req->num_retrans++; } return res; } |