diff options
author | Eric Dumazet <[email protected]> | 2020-12-02 09:16:57 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-12-02 12:06:12 -0800 |
commit | 05e3ecea4a6305597a060da0a123c80df8827bf1 (patch) | |
tree | bb16d7fc1d753e559a270b1bded02ff2812af15c /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 2ce5a30711abdb690f916d21cb524021e2368d41 (diff) |
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 <[email protected]>
Tested-by: Paolo Abeni <[email protected]>
Reviewed-by: Mat Martineau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions