Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5fcd2793 authored by Eric Dumazet's avatar Eric Dumazet Committed by Gerrit - the friendly Code Review server
Browse files

tcp/dccp: drop SYN packets if accept queue is full



[ Upstream commit: 5ea8ea2cb7f1d0db15762c9b0bb9e7330425a071 ]

Per listen(fd, backlog) rules, there is really no point accepting a SYN,
sending a SYNACK, and dropping the following ACK packet if accept queue
is full, because application is not draining accept queue fast enough.

This behavior is fooling TCP clients that believe they established a
flow, while there is nothing at server side. They might then send about
10 MSS (if using IW10) that will be dropped anyway while server is under
stress.

Change-Id: I6e7b8801513265523e7092e0e5788cf45f06d943
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Acked-by: default avatarNeal Cardwell <ncardwell@google.com>
Acked-by: default avatarYuchung Cheng <ycheng@google.com>
Git-commit: 5ea8ea2cb7f1d0db15762c9b0bb9e7330425a071
Git-repo: https://android.googlesource.com/kernel/common/


Signed-off-by: default avatarChinmay Agarwal <chinagar@codeaurora.org>
parent e302f861
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment