diff options
| author | Eric Dumazet <[email protected]> | 2025-06-26 15:30:17 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-06-27 22:34:19 +0000 |
| commit | cf56a98202970adf298df5caaa225ed68350e9ab (patch) | |
| tree | 740d72c61f2bfa5a1e6a2e0a3982d2beb906a852 /net/ipv4/tcp_output.c | |
| parent | tcp: remove rtx_syn_ack field (diff) | |
| download | kernel-cf56a98202970adf298df5caaa225ed68350e9ab.tar.gz kernel-cf56a98202970adf298df5caaa225ed68350e9ab.zip | |
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 <[email protected]>
Reviewed-by: Neal Cardwell <[email protected]>
Reviewed-by: Kuniyuki Iwashima <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
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; } |
