aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/mptcp/protocol.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2020-02-26 10:14:50 +0100
committerDavid S. Miller <davem@davemloft.net>2020-02-26 20:46:26 -0800
commitbfae9dae449d5eeb196a071fe4720504362672b4 (patch)
tree716597da8cac7b67a7632a4f2c78b8b371e3940a /net/mptcp/protocol.h
parentmptcp: add rmem queue accounting (diff)
downloadwireguard-linux-bfae9dae449d5eeb196a071fe4720504362672b4.tar.xz
wireguard-linux-bfae9dae449d5eeb196a071fe4720504362672b4.zip
mptcp: remove mptcp_read_actor
Only used to discard stale data from the subflow, so move it where needed. 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.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h
index 6e6e162d25f1..d06170c5f191 100644
--- a/net/mptcp/protocol.h
+++ b/net/mptcp/protocol.h
@@ -191,13 +191,6 @@ void mptcp_proto_init(void);
int mptcp_proto_v6_init(void);
#endif
-struct mptcp_read_arg {
- struct msghdr *msg;
-};
-
-int mptcp_read_actor(read_descriptor_t *desc, struct sk_buff *skb,
- unsigned int offset, size_t len);
-
void mptcp_get_options(const struct sk_buff *skb,
struct tcp_options_received *opt_rx);