commit | ba3bb0e76ccd464bb66665a1941fabe55dadb3ba | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Tue Jun 30 13:51:28 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 01 17:46:04 2020 -0700 |
tree | 331f8bc7f2b3e7d58d4df3c4e8dcc4d389f32fd6 | |
parent | 0da7536fb47f51df89ccfcb1fa09f249d9accec5 [diff] |
tcp: fix SO_RCVLOWAT possible hangs under high mem pressure Whenever tcp_try_rmem_schedule() returns an error, we are under trouble and should make sure to wakeup readers so that they can drain socket queues and eventually make room. Fixes: 03f45c883c6f ("tcp: avoid extra wakeups for SO_RCVLOWAT users") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>