net: tcp: Extend TCP receive queue timeout

After several fixes of the re-ordering logic in TCP, the receive queue
works as intended and cleans itself up properly. Previously the default
timeout was 100 ms, which pretty much disables it for real applications.

Increase the timeout to 2 seconds to actually enable it for in practice.
This should help pass much more of the Maxwell Pro tests.

This is the first step before removing the timeout completely.

Signed-off-by: Sjors Hettinga <s.a.hettinga@gmail.com>
This commit is contained in:
Sjors Hettinga 2023-01-09 08:00:49 +01:00 committed by Carles Cufí
commit 1be1b472cd
3 changed files with 1 additions and 4 deletions

View file

@ -480,7 +480,7 @@ config NET_TCP_MAX_RECV_WINDOW_SIZE
config NET_TCP_RECV_QUEUE_TIMEOUT
int "How long to queue received data (in ms)"
depends on NET_TCP
default 100
default 2000
range 0 10000
help
If we receive out-of-order TCP data, we queue it. This value tells