]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: consistently disable header prediction for mptcp
authorPaolo Abeni <pabeni@redhat.com>
Wed, 30 Jun 2021 11:42:13 +0000 (13:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Jul 2021 20:22:40 +0000 (13:22 -0700)
commit8019a68de01d5ee1e9af4d0ad01794d54114ab32
treeec837242618e860ced501bced939cc20924c4b33
parenta047265a14941fbe8e50e1ef897191a4c1eb5323
tcp: consistently disable header prediction for mptcp

The MPTCP receive path is hooked only into the TCP slow-path.
The DSS presence allows plain MPTCP traffic to hit that
consistently.

Since commit c5be4bc9a7f5 ("net: mptcp: improve fallback to TCP"),
when an MPTCP socket falls back to TCP, it can hit the TCP receive
fast-path, and delay or stop triggering the event notification.

Address the issue explicitly disabling the header prediction
for MPTCP sockets.

Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/200
Fixes: c5be4bc9a7f5 ("net: mptcp: improve fallback to TCP")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h