[PATCH stable 4.19 0/4] tcp: fix the timeout value calculated by tcp_model_timeout() is not accurate

From: Qiumiao Zhang
Date: Sun Sep 26 2021 - 03:19:15 EST


This patch series is present in v5.15 and fixes the problem that the
timeout value calculated by tcp_model_timeout() is not accurate.

Pseudo-Shortlog of commits:

Eric Dumazet <edumazet@xxxxxxxxxx>
tcp: address problems caused by EDT misshaps

Yuchung Cheng <ycheng@xxxxxxxxxx>
tcp: always set retrans_stamp on recovery

Yuchung Cheng <ycheng@xxxxxxxxxx>
tcp: create a helper to model exponential backoff

Eric Dumazet <edumazet@xxxxxxxxxx>
tcp: adjust rto_base in retransmits_timed_out()

net/ipv4/tcp_input.c | 16 ++++++-----
net/ipv4/tcp_output.c | 9 +++----
net/ipv4/tcp_timer.c | 63 ++++++++++++++++++++-----------------------
3 files changed, 43 insertions(+), 45 deletions(-)

--
2.19.1