aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2025-05-13 19:39:15 +0000
committerJakub Kicinski <[email protected]>2025-05-15 18:30:08 +0000
commitb879dcb1aeeca278eacaac0b1e2425b1c7599f9f (patch)
treefa8fcabd948e5c10e286264673b04ea0155e8eab /net/ipv4/tcp_ipv4.c
parenttcp: fix initial tp->rcvq_space.space value for passive TS enabled flows (diff)
downloadkernel-b879dcb1aeeca278eacaac0b1e2425b1c7599f9f.tar.gz
kernel-b879dcb1aeeca278eacaac0b1e2425b1c7599f9f.zip
tcp: always seek for minimal rtt in tcp_rcv_rtt_update()
tcp_rcv_rtt_update() goal is to maintain an estimation of the RTT in tp->rcv_rtt_est.rtt_us, used by tcp_rcv_space_adjust() When TCP TS are enabled, tcp_rcv_rtt_update() is using EWMA to smooth the samples. Change this to immediately latch the incoming value if it is lower than tp->rcv_rtt_est.rtt_us, so that tcp_rcv_space_adjust() does not overshoot tp->rcvq_space.space and sk->sk_rcvbuf. Signed-off-by: Eric Dumazet <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions