Re: [PATCH net] tcp: adjust rto_base in retransmits_timed_out()

2019-10-01 Thread David Miller
From: Eric Dumazet Date: Mon, 30 Sep 2019 15:44:44 -0700 > The cited commit exposed an old retransmits_timed_out() bug > which assumed it could call tcp_model_timeout() with > TCP_RTO_MIN as rto_base for all states. > > But flows in SYN_SENT or SYN_RECV state uses a different > RTO base (1 sec i

[PATCH net] tcp: adjust rto_base in retransmits_timed_out()

2019-09-30 Thread Eric Dumazet
The cited commit exposed an old retransmits_timed_out() bug which assumed it could call tcp_model_timeout() with TCP_RTO_MIN as rto_base for all states. But flows in SYN_SENT or SYN_RECV state uses a different RTO base (1 sec instead of 200 ms, unless BPF choses another value) This caused a reduc