diff options
author | Eric Dumazet <edumazet@google.com> | 2020-06-30 13:51:28 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-01 17:46:04 -0700 |
commit | ba3bb0e76ccd464bb66665a1941fabe55dadb3ba (patch) | |
tree | 331f8bc7f2b3e7d58d4df3c4e8dcc4d389f32fd6 /arch | |
parent | 0da7536fb47f51df89ccfcb1fa09f249d9accec5 (diff) | |
download | linux-ba3bb0e76ccd464bb66665a1941fabe55dadb3ba.tar.bz2 |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions