summaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-04-16 19:33:36 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-17 00:26:37 +0200
commit796f82eafcd96629c2f9a0332dbb4f474854aaf8 (patch)
treed758c4141548f9a997602c3beb25e1ca26bad54e /include/net/tcp.h
parenttcp: fix SO_RCVLOWAT and RCVBUF autotuning (diff)
downloadlinux-796f82eafcd96629c2f9a0332dbb4f474854aaf8.tar.xz
linux-796f82eafcd96629c2f9a0332dbb4f474854aaf8.zip
tcp: fix delayed acks behavior for SO_RCVLOWAT
We should not delay acks if there are not enough bytes in receive queue to satisfy SO_RCVLOWAT. Since [E]POLLIN event is not going to be generated, there is little hope for a delayed ack to be useful. In fact, delaying ACK prevents sender from completing the transfer. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
0 files changed, 0 insertions, 0 deletions