]> 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)
commite52a254a52f1fab3a06696365516883c5744a33f
treebc7595d123dbe4387d044322b0d38592428b9a64
parent3f618fe21507e6d40a8616fa1d46643e18c79a6f
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