aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2025-05-13 19:39:16 +0000
committerJakub Kicinski <[email protected]>2025-05-15 18:30:09 +0000
commita00f135cd986f7d23f59723f4f9d531f38867d9d (patch)
treef49ebe760bb6d71741c6d3730e70cfe5ea1a4964 /net/ipv4/tcp_ipv4.c
parenttcp: always seek for minimal rtt in tcp_rcv_rtt_update() (diff)
downloadkernel-a00f135cd986f7d23f59723f4f9d531f38867d9d.tar.gz
kernel-a00f135cd986f7d23f59723f4f9d531f38867d9d.zip
tcp: skip big rtt sample if receive queue is not empty
tcp_rcv_rtt_update() role is to keep an estimation of RTT (tp->rcv_rtt_est.rtt_us) for receivers. If an application is too slow to drain the TCP receive queue, it is better to leave the RTT estimation small, so that tcp_rcv_space_adjust() does not inflate 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