Re: [PATCH net-next] net: Limit logical shift left of TCP probe0 timeout

2020-12-13 Thread Cambda Zhu
> On Dec 13, 2020, at 06:32, Jakub Kicinski wrote: > > On Tue, 8 Dec 2020 17:19:10 +0800 Cambda Zhu wrote: >> For each TCP zero window probe, the icsk_backoff is increased by one and >> its max value is tcp_retries2. If tcp_retries2 is greater than 63, the >> prob

Re: [PATCH net-next] net: Limit logical shift left of TCP probe0 timeout

2020-12-15 Thread Cambda Zhu
> On Dec 15, 2020, at 19:06, Eric Dumazet wrote: > > On Tue, Dec 15, 2020 at 3:08 AM Jakub Kicinski wrote: >> >> On Sun, 13 Dec 2020 21:59:45 +0800 Cambda Zhu wrote: >>>> On Dec 13, 2020, at 06:32, Jakub Kicinski wrote: >>>> On Tue, 8 Dec 20

[PATCH net-next] net: Limit logical shift left of TCP probe0 timeout

2020-12-08 Thread Cambda Zhu
the backoff. The max value of max_when is TCP_RTO_MAX and the min value of timeout base is TCP_RTO_MIN. The limit is the backoff from TCP_RTO_MIN to TCP_RTO_MAX. Signed-off-by: Cambda Zhu --- include/net/tcp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/net