On Mon, 29 Jun 2020, Davide Caratti wrote:

From: Paolo Abeni <[email protected]>

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 <[email protected]>
Signed-off-by: Davide Caratti <[email protected]>
---
net/mptcp/protocol.c | 25 ++++++++++++++++++++-----
1 file changed, 20 insertions(+), 5 deletions(-)


Reviewed-by: Mat Martineau <[email protected]>

--
Mat Martineau
Intel

Reply via email to