Re: [PATCH net] mptcp: fix joined subflows with unblocking sk
From: David Miller
Date: Mon Jul 27 2020 - 14:52:23 EST
From: Matthieu Baerts <matthieu.baerts@xxxxxxxxxxxx>
Date: Mon, 27 Jul 2020 12:24:33 +0200
> 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>