Commit ba3bb0e
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: 03f45c8 ("tcp: avoid extra wakeups for SO_RCVLOWAT users")
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>1 parent 0da7536 commit ba3bb0e
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4582 | 4582 | | |
4583 | 4583 | | |
4584 | 4584 | | |
| 4585 | + | |
4585 | 4586 | | |
4586 | 4587 | | |
4587 | 4588 | | |
| |||
4828 | 4829 | | |
4829 | 4830 | | |
4830 | 4831 | | |
| 4832 | + | |
4831 | 4833 | | |
4832 | 4834 | | |
4833 | 4835 | | |
| |||
0 commit comments