diff options
author | Paolo Abeni <pabeni@redhat.com> | 2025-01-13 16:44:57 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-14 22:32:11 +0100 |
commit | e226d9259dc4f5d2c19e6682ad1356fa97cf38f4 (patch) | |
tree | a08e0818ded8b350e21da303e2716a4b42fefb3d /net/iucv | |
parent | mptcp: be sure to send ack when mptcp-level window re-opens (diff) | |
download | linux-e226d9259dc4f5d2c19e6682ad1356fa97cf38f4.tar.xz linux-e226d9259dc4f5d2c19e6682ad1356fa97cf38f4.zip |
mptcp: fix spurious wake-up on under memory pressure
The wake-up condition currently implemented by mptcp_epollin_ready()
is wrong, as it could mark the MPTCP socket as readable even when
no data are present and the system is under memory pressure.
Explicitly check for some data being available in the receive queue.
Fixes: 5684ab1a0eff ("mptcp: give rcvlowat some love")
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250113-net-mptcp-connect-st-flakes-v1-2-0d986ee7b1b6@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/iucv')
0 files changed, 0 insertions, 0 deletions