Message ID | 20241008-net-mptcp-fallback-fixes-v1-3-c6fb8e93e551@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 119d51e225febc8152476340a880f5415a01e99e |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | mptcp: misc. fixes involving fallback to TCP | expand |
diff --git a/net/mptcp/subflow.c b/net/mptcp/subflow.c index e1046a696ab5c79a2cef79870eb79637b432fcd5..25dde81bcb7575958635aaf14a5b8e9a5005e05f 100644 --- a/net/mptcp/subflow.c +++ b/net/mptcp/subflow.c @@ -1282,7 +1282,7 @@ static bool subflow_can_fallback(struct mptcp_subflow_context *subflow) else if (READ_ONCE(msk->csum_enabled)) return !subflow->valid_csum_seen; else - return !subflow->fully_established; + return READ_ONCE(msk->allow_infinite_fallback); } static void mptcp_subflow_fail(struct mptcp_sock *msk, struct sock *ssk)