]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: fix fallback for MP_JOIN subflows
authorPaolo Abeni <pabeni@redhat.com>
Fri, 9 Oct 2020 17:00:00 +0000 (19:00 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 10 Oct 2020 18:04:53 +0000 (11:04 -0700)
commit1d77da55bfcbbcb02a85940c374fce65ad4e62e0
tree0d9af930de2074da56d00ea3402a571ae0de6a58
parent387ef3c6fd27337b68144079132a3e2abec1743d
mptcp: fix fallback for MP_JOIN subflows

Additional/MP_JOIN subflows that do not pass some initial handshake
tests currently causes fallback to TCP. That is an RFC violation:
we should instead reset the subflow and leave the the msk untouched.

Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/91
Fixes: fb5f5519370c ("mptcp: Add handling of incoming MP_JOIN requests")
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/options.c
net/mptcp/protocol.h
net/mptcp/subflow.c