]> git.baikalelectronics.ru Git - kernel.git/commit
net: mptcp: improve fallback to TCP
authorDavide Caratti <dcaratti@redhat.com>
Mon, 29 Jun 2020 20:26:20 +0000 (22:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 00:29:38 +0000 (17:29 -0700)
commitc5be4bc9a7f5e85b05a9f28df19c981b87aa811a
treebc7595d123dbe4387d044322b0d38592428b9a64
parente3d747cb5dd6f264c8b323b54381dffb69a76502
net: mptcp: improve fallback to TCP

Keep using MPTCP sockets and a use "dummy mapping" in case of fallback
to regular TCP. When fallback is triggered, skip addition of the MPTCP
option on send.

Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/11
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/22
Co-developed-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/options.c
net/mptcp/protocol.c
net/mptcp/protocol.h
net/mptcp/subflow.c