diff options
| author | Eric Dumazet <edumazet@google.com> | 2025-10-13 14:59:26 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-10-15 08:56:30 -0700 |
| commit | 1c51450f1afff1e7419797720df3fbd9ccbf610c (patch) | |
| tree | 0d4870a48bf8659f4cc741f42b47624fc49e7b5e /net/core/sysctl_net_core.c | |
| parent | 6378e25ee1ca2ed687eee78eff7bd588d52a4e14 (diff) | |
tcp: better handle TCP_TX_DELAY on established flows
Some applications uses TCP_TX_DELAY socket option after TCP flow
is established.
Some metrics need to be updated, otherwise TCP might take time to
adapt to the new (emulated) RTT.
This patch adjusts tp->srtt_us, tp->rtt_min, icsk_rto
and sk->sk_pacing_rate.
This is best effort, and for instance icsk_rto is reset
without taking backoff into account.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20251013145926.833198-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/sysctl_net_core.c')
0 files changed, 0 insertions, 0 deletions