summaryrefslogtreecommitdiffstats
path: root/net/tls
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2025-01-13 16:44:57 +0100
committerJakub Kicinski <kuba@kernel.org>2025-01-14 22:32:11 +0100
commite226d9259dc4f5d2c19e6682ad1356fa97cf38f4 (patch)
treea08e0818ded8b350e21da303e2716a4b42fefb3d /net/tls
parentmptcp: be sure to send ack when mptcp-level window re-opens (diff)
downloadlinux-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/tls')
0 files changed, 0 insertions, 0 deletions