mptcp: mptcp_parse_option is no longer exported
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Wed, 16 Feb 2022 02:11:24 +0000 (18:11 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Feb 2022 04:52:04 +0000 (20:52 -0800)
Options parsing in now done from mptcp_incoming_options().

mptcp_parse_option() has been removed from mptcp.h when CONFIG_MPTCP is
defined but not when it is not.

Fixes: cfde141ea3fa ("mptcp: move option parsing into mptcp_incoming_options()")
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/mptcp.h

index a925349b4b8991b12bdb7b64a6eec00ae9d5bd5f..0a3b0fb04a3b9f9780189e941eca52091158bcae 100644 (file)
@@ -217,12 +217,6 @@ static inline bool rsk_drop_req(const struct request_sock *req)
        return false;
 }
 
-static inline void mptcp_parse_option(const struct sk_buff *skb,
-                                     const unsigned char *ptr, int opsize,
-                                     struct tcp_options_received *opt_rx)
-{
-}
-
 static inline bool mptcp_syn_options(struct sock *sk, const struct sk_buff *skb,
                                     unsigned int *size,
                                     struct mptcp_out_options *opts)