diff options
author | Eric Dumazet <edumazet@google.com> | 2021-11-15 20:02:48 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-16 14:10:35 +0100 |
commit | 29fbc26e6dfc7be351c23261938de3f93f5cde57 (patch) | |
tree | f3775856188c4864ad33c3b5fe1899c89ea115b7 /net/ipv6/udp_offload.c | |
parent | tcp: check local var (timeo) before socket fields in one test (diff) | |
download | linux-29fbc26e6dfc7be351c23261938de3f93f5cde57.tar.xz linux-29fbc26e6dfc7be351c23261938de3f93f5cde57.zip |
tcp: do not call tcp_cleanup_rbuf() if we have a backlog
Under pressure, tcp recvmsg() has logic to process the socket backlog,
but calls tcp_cleanup_rbuf() right before.
Avoiding sending ACK right before processing new segments makes
a lot of sense, as this decrease the number of ACK packets,
with no impact on effective ACK clocking.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/udp_offload.c')
0 files changed, 0 insertions, 0 deletions