commit | 8f2b02931175ca56ddb1fe1a2393c34d97a25aa0 | [log] [tgz] |
---|---|---|
author | Soheil Hassas Yeganeh <soheil@google.com> | Wed Sep 26 16:57:03 2018 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 01 22:36:56 2018 -0700 |
tree | 5ce71db49075b5052e2d2d33efd67152e0589e90 | |
parent | 2240c12d7d3de741ffbcf22d7a96358a450051ac [diff] |
tcp: set recv_skip_hint when tcp_inq is less than PAGE_SIZE When we have less than PAGE_SIZE of data on receive queue, we set recv_skip_hint to 0. Instead, set it to the actual number of bytes available. Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>