Re: [PATCH net] mptcp: fix joined subflows with unblocking sk
From: Paolo Abeni
Date: Mon Jul 27 2020 - 06:39:09 EST
On Mon, 2020-07-27 at 12:24 +0200, Matthieu Baerts wrote:
> Unblocking sockets used for outgoing connections were not containing
> inet info about the initial connection due to a typo there: the value of
> "err" variable is negative in the kernelspace.
> This fixes the creation of additional subflows where the remote port has
> to be reused if the other host didn't announce another one. This also
> fixes inet_diag showing blank info about MPTCP sockets from unblocking
> sockets doing a connect().
> Fixes: 41be81a8d3d0 ("mptcp: fix unblocking connect()")
> Signed-off-by: Matthieu Baerts <matthieu.baerts@xxxxxxxxxxxx>
Acked-by: Paolo Abeni <pabeni@xxxxxxxxxx>