summaryrefslogtreecommitdiffstats
path: root/net/mptcp/options.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2020-09-25 01:23:02 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-25 05:17:01 +0200
commit77d0cab93909edf1e5740643d788ac2e458b8187 (patch)
tree452fe2ebac0b3c96e4d054de1fadc31a419d1587 /net/mptcp/options.c
parentMerge branch 'mptcp-RM_ADDR-ADD_ADDR-enhancements' (diff)
downloadlinux-77d0cab93909edf1e5740643d788ac2e458b8187.tar.xz
linux-77d0cab93909edf1e5740643d788ac2e458b8187.zip
net: tcp: drop unused function argument from mptcp_incoming_options
Since commit cfde141ea3faa30e ("mptcp: move option parsing into mptcp_incoming_options()"), the 3rd function argument is no longer used. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/mptcp/options.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mptcp/options.c b/net/mptcp/options.c
index 14a290fae767..411fd4a41796 100644
--- a/net/mptcp/options.c
+++ b/net/mptcp/options.c
@@ -859,8 +859,7 @@ static bool add_addr_hmac_valid(struct mptcp_sock *msk,
return hmac == mp_opt->ahmac;
}
-void mptcp_incoming_options(struct sock *sk, struct sk_buff *skb,
- struct tcp_options_received *opt_rx)
+void mptcp_incoming_options(struct sock *sk, struct sk_buff *skb)
{
struct mptcp_subflow_context *subflow = mptcp_subflow_ctx(sk);
struct mptcp_sock *msk = mptcp_sk(subflow->conn);