diff options
author | Eric Dumazet <edumazet@google.com> | 2020-12-02 18:16:57 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-12-02 21:06:12 +0100 |
commit | 05e3ecea4a6305597a060da0a123c80df8827bf1 (patch) | |
tree | bb16d7fc1d753e559a270b1bded02ff2812af15c /LICENSES/preferred | |
parent | octeontx2-af: debugfs: delete dead code (diff) | |
download | linux-05e3ecea4a6305597a060da0a123c80df8827bf1.tar.xz linux-05e3ecea4a6305597a060da0a123c80df8827bf1.zip |
mptcp: avoid potential infinite loop in mptcp_recvmsg()
If a packet is ready in receive queue, and application isssues
a recvmsg()/recvfrom()/recvmmsg() request asking for zero bytes,
we hang in mptcp_recvmsg().
Fixes: ea4ca586b16f ("mptcp: refine MPTCP-level ack scheduling")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Tested-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Link: https://lore.kernel.org/r/20201202171657.1185108-1-eric.dumazet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'LICENSES/preferred')
0 files changed, 0 insertions, 0 deletions