On Mon, 29 Jun 2020, Davide Caratti wrote:

From: Paolo Abeni <pab...@redhat.com>

mptcp_poll always return POLLOUT for unblocking
connect(), ensure that the socket is a suitable
state.
The MPTCP_DATA_READY bit is never cleared on accept:
ensure we don't leave mptcp_accept() with an empty
accept queue and such bit set.

Signed-off-by: Paolo Abeni <pab...@redhat.com>
Signed-off-by: Davide Caratti <dcara...@redhat.com>
---
net/mptcp/protocol.c | 25 ++++++++++++++++++++-----
1 file changed, 20 insertions(+), 5 deletions(-)


Reviewed-by: Mat Martineau <mathew.j.martin...@linux.intel.com>

--
Mat Martineau
Intel

Reply via email to