summaryrefslogtreecommitdiffstats
path: root/net/mptcp/protocol.h
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2021-03-26 19:26:30 +0100
committerDavid S. Miller <davem@davemloft.net>2021-03-26 23:05:15 +0100
commit2d6f5a2b5720cd3fdbaa21d8f5a6a192257b2a3c (patch)
tree6067d1cdea3da4fb740a3fd64943220cb3ba7c17 /net/mptcp/protocol.h
parentMerge branch 'ipa-resource' (diff)
downloadlinux-2d6f5a2b5720cd3fdbaa21d8f5a6a192257b2a3c.tar.xz
linux-2d6f5a2b5720cd3fdbaa21d8f5a6a192257b2a3c.zip
mptcp: clean-up the rtx path
After the previous patch we can easily avoid invoking the workqueue to perform the retransmission, if the msk socket lock is held at rtx timer expiration. This also simplifies the relevant code. Co-developed-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: Paolo Abeni <pabeni@redhat.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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h
index 1111a99b024f..0116308f5f69 100644
--- a/net/mptcp/protocol.h
+++ b/net/mptcp/protocol.h
@@ -104,6 +104,7 @@
#define MPTCP_PUSH_PENDING 6
#define MPTCP_CLEAN_UNA 7
#define MPTCP_ERROR_REPORT 8
+#define MPTCP_RETRANSMIT 9
static inline bool before64(__u64 seq1, __u64 seq2)
{