]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: establish subflows from either end of connection
authorKishen Maloor <kishen.maloor@intel.com>
Mon, 2 May 2022 20:52:35 +0000 (13:52 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 3 May 2022 23:54:55 +0000 (16:54 -0700)
commitad089c1522b922dcf23866ccf18d20a84edce549
treedd9f5fb5b7cafba0e2052bd34dbaa073fc577d5f
parent1e26c61c3ede48de991d95889a996325d6339716
mptcp: establish subflows from either end of connection

This change updates internal logic to permit subflows to be
established from either the client or server ends of MPTCP
connections. This symmetry and added flexibility may be
harnessed by PM implementations running on either end in
creating new subflows.

The essence of this change lies in not relying on the
"server_side" flag (which continues to be available if needed).

Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Kishen Maloor <kishen.maloor@intel.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/options.c
net/mptcp/protocol.c
net/mptcp/protocol.h