diff options
author | Florian Westphal <fw@strlen.de> | 2020-02-26 10:14:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-26 20:46:26 -0800 |
commit | 101f6f851ee6268a46e2dcec244a812fd9a9195a (patch) | |
tree | 2938e591ee284f9e18dd9d7d194fe39921249c98 /net/mptcp/protocol.h | |
parent | 5cd129dd5e45b9c3c61ec373c3ec1d60925dc65d (diff) | |
download | linux-101f6f851ee6268a46e2dcec244a812fd9a9195a.tar.gz linux-101f6f851ee6268a46e2dcec244a812fd9a9195a.tar.bz2 linux-101f6f851ee6268a46e2dcec244a812fd9a9195a.zip |
mptcp: add and use mptcp_data_ready helper
allows us to schedule the work queue to drain the ssk receive queue in
a followup patch.
This is needed to avoid sending all-to-pessimistic mptcp-level
acknowledgements. At this time, the ack_seq is what was last read by
userspace instead of the highest in-sequence number queued for reading.
Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-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 9f8663b30456..67895a7c1e5b 100644 --- a/net/mptcp/protocol.h +++ b/net/mptcp/protocol.h @@ -201,6 +201,7 @@ void mptcp_get_options(const struct sk_buff *skb, struct tcp_options_received *opt_rx); void mptcp_finish_connect(struct sock *sk); +void mptcp_data_ready(struct sock *sk); int mptcp_token_new_request(struct request_sock *req); void mptcp_token_destroy_request(u32 token); |