options.c (0db00e5d86dc793aab9722ad3728d99166eb7d96) options.c (07bb418cb0b4d70e83609935b3d74d1750ef6a45)
1// SPDX-License-Identifier: GPL-2.0
2/* Multipath TCP
3 *
4 * Copyright (c) 2017 - 2019, Intel Corporation.
5 */
6
7#define pr_fmt(fmt) "MPTCP: " fmt
8

--- 944 unchanged lines hidden (view full) ---

953 goto reset;
954 if (subflow->is_mptfo && mp_opt->suboptions & OPTION_MPTCP_MPC_ACK)
955 goto set_fully_established;
956 return subflow->mp_capable;
957 }
958
959 if (subflow->remote_key_valid &&
960 (((mp_opt->suboptions & OPTION_MPTCP_DSS) && mp_opt->use_ack) ||
1// SPDX-License-Identifier: GPL-2.0
2/* Multipath TCP
3 *
4 * Copyright (c) 2017 - 2019, Intel Corporation.
5 */
6
7#define pr_fmt(fmt) "MPTCP: " fmt
8

--- 944 unchanged lines hidden (view full) ---

953 goto reset;
954 if (subflow->is_mptfo && mp_opt->suboptions & OPTION_MPTCP_MPC_ACK)
955 goto set_fully_established;
956 return subflow->mp_capable;
957 }
958
959 if (subflow->remote_key_valid &&
960 (((mp_opt->suboptions & OPTION_MPTCP_DSS) && mp_opt->use_ack) ||
961 ((mp_opt->suboptions & OPTION_MPTCP_ADD_ADDR) && !mp_opt->echo))) {
961 ((mp_opt->suboptions & OPTION_MPTCP_ADD_ADDR) &&
962 (!mp_opt->echo || subflow->mp_join)))) {
962 /* subflows are fully established as soon as we get any
963 * additional ack, including ADD_ADDR.
964 */
965 goto set_fully_established;
966 }
967
968 /* If the first established packet does not contain MP_CAPABLE + data
969 * then fallback to TCP. Fallback scenarios requires a reset for

--- 685 unchanged lines hidden ---
963 /* subflows are fully established as soon as we get any
964 * additional ack, including ADD_ADDR.
965 */
966 goto set_fully_established;
967 }
968
969 /* If the first established packet does not contain MP_CAPABLE + data
970 * then fallback to TCP. Fallback scenarios requires a reset for

--- 685 unchanged lines hidden ---