diff options
author | Paolo Abeni <pabeni@redhat.com> | 2021-06-21 17:33:09 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-22 10:22:42 -0700 |
commit | 597dbae77ee5a2347b1b800c25c89a9181dd8a57 (patch) | |
tree | 78080c913149f18c25f7ca5a03423e8dd2eea5d1 /net | |
parent | 490274b47468793e3e157c2df6b2da0e646cc4a9 (diff) | |
download | linux-stable-597dbae77ee5a2347b1b800c25c89a9181dd8a57.tar.gz linux-stable-597dbae77ee5a2347b1b800c25c89a9181dd8a57.tar.bz2 linux-stable-597dbae77ee5a2347b1b800c25c89a9181dd8a57.zip |
mptcp: drop duplicate mptcp_setsockopt() declaration
commit 7896248983ef ("mptcp: add skeleton to sync msk socket
options to subflows") introduced a duplicate declaration of
mptcp_setsockopt(), just drop it.
Reported-by: Florian Westphal <fw@strlen.de>
Fixes: 7896248983ef ("mptcp: add skeleton to sync msk socket options to subflows")
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')
-rw-r--r-- | net/mptcp/protocol.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h index 7b634568f49c..78ac28902f55 100644 --- a/net/mptcp/protocol.h +++ b/net/mptcp/protocol.h @@ -762,9 +762,6 @@ unsigned int mptcp_pm_get_add_addr_accept_max(struct mptcp_sock *msk); unsigned int mptcp_pm_get_subflows_max(struct mptcp_sock *msk); unsigned int mptcp_pm_get_local_addr_max(struct mptcp_sock *msk); -int mptcp_setsockopt(struct sock *sk, int level, int optname, - sockptr_t optval, unsigned int optlen); - void mptcp_sockopt_sync(struct mptcp_sock *msk, struct sock *ssk); void mptcp_sockopt_sync_all(struct mptcp_sock *msk); |