Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: do not wakeup listener for MPJ subflows
MPJ subflows are not exposed as fds to user spaces. As such, incoming MPJ subflows are removed from the accept queue by tcp_check_req()/tcp_get_cookie_sock(). Later tcp_child_process() invokes subflow_data_ready() on the parent socket regardless of the subflow kind, leading to poll wakeups even if the later accept will block. Address the issue double checking the queue state before waking the user-space. Closes: #164 Reported-by: Dr. David Alan Gilbert <[email protected]> Fixes: f296234 ("mptcp: Add handling of incoming MP_JOIN requests") Reviewed-by: Mat Martineau <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
- Loading branch information