On Mon, 29 Jun 2020, Davide Caratti wrote:

From: Paolo Abeni <[email protected]>

Currently __mptcp_tcp_fallback() always return NULL
on incoming connections, because MPTCP does not create
the additional socket for the first subflow.
Since the previous commit no __mptcp_tcp_fallback()
caller needs a struct socket, so let __mptcp_tcp_fallback()
return the first subflow sock and cope correctly even with
incoming connections.

Signed-off-by: Paolo Abeni <[email protected]>
Signed-off-by: Davide Caratti <[email protected]>
---
net/mptcp/protocol.c | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)


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

--
Mat Martineau
Intel

Reply via email to