diff options
author | Geliang Tang <geliang.tang@suse.com> | 2022-04-27 00:57:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-27 12:45:54 +0300 |
commit | 9c81be0dbc89ccb76ce34c3a88425bf3a0d57ebb (patch) | |
tree | b621f259c152b69feda0ae214ed3b0ea3f401b2b /net/mptcp/protocol.h | |
parent | 4293248c6704b854bf816aa1967e433402bee11c (diff) | |
download | linux-9c81be0dbc89ccb76ce34c3a88425bf3a0d57ebb.tar.xz |
mptcp: add MP_FAIL response support
This patch adds a new struct member mp_fail_response_expect in struct
mptcp_subflow_context to support MP_FAIL response. In the single subflow
with checksum error and contiguous data special case, a MP_FAIL is sent
in response to another MP_FAIL.
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/protocol.h')
-rw-r--r-- | net/mptcp/protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h index 61d600693ffd..cc66c81a8fab 100644 --- a/net/mptcp/protocol.h +++ b/net/mptcp/protocol.h @@ -448,6 +448,7 @@ struct mptcp_subflow_context { stale : 1, /* unable to snd/rcv data, do not use for xmit */ local_id_valid : 1; /* local_id is correctly initialized */ enum mptcp_data_avail data_avail; + bool mp_fail_response_expect; u32 remote_nonce; u64 thmac; u32 local_nonce; |