summaryrefslogtreecommitdiffstats
path: root/net/mptcp/protocol.h
diff options
context:
space:
mode:
authorMat Martineau <mathew.j.martineau@linux.intel.com>2020-07-29 00:12:02 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-29 02:02:41 +0200
commit7279da6145bbb2e41a61def5d9bca5b65f12de9d (patch)
treeb3b068e7044d9ab91eaca8551713719f5cd574c2 /net/mptcp/protocol.h
parentmptcp: Remove outdated and incorrect comment (diff)
downloadlinux-7279da6145bbb2e41a61def5d9bca5b65f12de9d.tar.xz
linux-7279da6145bbb2e41a61def5d9bca5b65f12de9d.zip
mptcp: Use MPTCP-level flag for sending DATA_FIN
Since DATA_FIN information is the same for every subflow, store it only in the mptcp_sock. Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/mptcp/protocol.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h
index 67634b595466..3f49cc105772 100644
--- a/net/mptcp/protocol.h
+++ b/net/mptcp/protocol.h
@@ -199,6 +199,7 @@ struct mptcp_sock {
unsigned long flags;
bool can_ack;
bool fully_established;
+ bool snd_data_fin_enable;
spinlock_t join_list_lock;
struct work_struct work;
struct list_head conn_list;
@@ -291,10 +292,8 @@ struct mptcp_subflow_context {
backup : 1,
data_avail : 1,
rx_eof : 1,
- data_fin_tx_enable : 1,
use_64bit_ack : 1, /* Set when we received a 64-bit DSN */
can_ack : 1; /* only after processing the remote a key */
- u64 data_fin_tx_seq;
u32 remote_nonce;
u64 thmac;
u32 local_nonce;