mptcp: do not reset MP_CAPABLE subflow on mapping errors
authorPaolo Abeni <pabeni@redhat.com>
Thu, 27 May 2021 23:31:39 +0000 (16:31 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 28 May 2021 20:51:40 +0000 (13:51 -0700)
commitdea2b1ea9c705c5ba351a9174403fd83dbb68fc3
tree8545e4f3cc1e8f911179d62488b65d74447917a4
parent06f9a435b3aa12f4de6da91f11fdce8ce7b46205
mptcp: do not reset MP_CAPABLE subflow on mapping errors

When some mapping related errors occurs we close the main
MPC subflow with a RST. We should instead fallback gracefully
to TCP, and do the reset only for MPJ subflows.

Fixes: d22f4988ffec ("mptcp: process MP_CAPABLE data option")
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/192
Reported-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/subflow.c