]> 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)
commit116390457beddecb4815fa620317dafbe0b6ef1d
tree0d9af930de2074da56d00ea3402a571ae0de6a58
parent1f43d2f774fdc9bbc1a61bac6feb22cfe4d042d1
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: 2c14519745b2 ("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