[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.OSX.2.23.453.2006291630390.11066@jlbliss-mobl.amr.corp.intel.com>
Date: Mon, 29 Jun 2020 16:30:54 -0700 (PDT)
From: Mat Martineau <mathew.j.martineau@...ux.intel.com>
To: Davide Caratti <dcaratti@...hat.com>
cc: Matthieu Baerts <matthieu.baerts@...sares.net>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org,
mptcp@...ts.01.org
Subject: Re: [PATCH net-next 5/6] mptcp: __mptcp_tcp_fallback() returns a
struct sock
On Mon, 29 Jun 2020, Davide Caratti wrote:
> From: Paolo Abeni <pabeni@...hat.com>
>
> 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 <pabeni@...hat.com>
> Signed-off-by: Davide Caratti <dcaratti@...hat.com>
> ---
> net/mptcp/protocol.c | 22 ++++++++++------------
> 1 file changed, 10 insertions(+), 12 deletions(-)
>
Reviewed-by: Mat Martineau <mathew.j.martineau@...ux.intel.com>
--
Mat Martineau
Intel
Powered by blists - more mailing lists