commit | 796f82eafcd96629c2f9a0332dbb4f474854aaf8 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Mon Apr 16 10:33:36 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 16 18:26:37 2018 -0400 |
tree | d758c4141548f9a997602c3beb25e1ca26bad54e | |
parent | d1361840f8c519eaee9a78ffe09e4f0a1b586846 [diff] |
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>