diff options
author | Davide Caratti <[email protected]> | 2020-03-19 22:45:37 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-03-23 20:53:25 -0700 |
commit | c3c123d16c0ed4a81b9b18d3759a31c58b2fe504 (patch) | |
tree | fd907ca29ce4399ad30e48fd34a9a682643ecaeb /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | b69bbab51bb7022b2044ea8f7715e4b9f4148f53 (diff) |
net: mptcp: don't hang in mptcp_sendmsg() after TCP fallback
it's still possible for packetdrill to hang in mptcp_sendmsg(), when the
MPTCP socket falls back to regular TCP (e.g. after receiving unsupported
flags/version during the three-way handshake). Adjust MPTCP socket state
earlier, to ensure correct functionality of mptcp_sendmsg() even in case
of TCP fallback.
Fixes: 767d3ded5fb8 ("net: mptcp: don't hang before sending 'MP capable with data'")
Fixes: 1954b86016cf ("mptcp: Check connection state before attempting send")
Signed-off-by: Davide Caratti <[email protected]>
Acked-by: Paolo Abeni <[email protected]>
Reviewed-by: Matthieu Baerts <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions