]> git.dujemihanovic.xyz Git - linux.git/commit
mptcp: fallback to TCP after SYN+MPC drops
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Mon, 9 Sep 2024 20:09:22 +0000 (22:09 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 11 Sep 2024 22:57:50 +0000 (15:57 -0700)
commit6982826fe5e53ef115836de7dd397bd970030937
tree623b59339e04b90a8a26a3c6699865178d3fd52e
parent65b02260a0e0c7cbb2faafd6c84ad95f68a2acae
mptcp: fallback to TCP after SYN+MPC drops

Some middleboxes might be nasty with MPTCP, and decide to drop packets
with MPTCP options, instead of just dropping the MPTCP options (or
letting them pass...).

In this case, it sounds better to fallback to "plain" TCP after 2
retransmissions, and try again.

Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/477
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20240909-net-next-mptcp-fallback-x-mpc-v1-2-da7ebb4cd2a3@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/mptcp.h
net/ipv4/tcp_timer.c
net/mptcp/ctrl.c
net/mptcp/mib.c
net/mptcp/mib.h