Commit 7eec9f3
tcp: fix SO_RCVLOWAT possible hangs under high mem pressure
[ Upstream commit ba3bb0e ]
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: 03f45c8 ("tcp: avoid extra wakeups for SO_RCVLOWAT users")
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 9b7fd81 commit 7eec9f3
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4564 | 4564 | | |
4565 | 4565 | | |
4566 | 4566 | | |
| 4567 | + | |
4567 | 4568 | | |
4568 | 4569 | | |
4569 | 4570 | | |
| |||
4807 | 4808 | | |
4808 | 4809 | | |
4809 | 4810 | | |
| 4811 | + | |
4810 | 4812 | | |
4811 | 4813 | | |
4812 | 4814 | | |
| |||
0 commit comments