From: Eric Dumazet <redacted>
First patch fixes an issue for applications using SO_RCVLOWAT
to reduce context switches.
Second patch is a cleanup.
Eric Dumazet (2):
tcp: fix SO_RCVLOWAT related hangs under mem pressure
tcp: factorize logic into tcp_epollin_ready()
include/net/tcp.h | 21 +++++++++++++++++++--
net/ipv4/tcp.c | 16 ++++------------
net/ipv4/tcp_input.c | 11 ++---------
3 files changed, 25 insertions(+), 23 deletions(-)
--
2.30.0.478.g8a0d178c01-goog