Commit f8e9ce4a authored by Matthieu Baerts's avatar Matthieu Baerts Committed by Jakub Kicinski

mptcp: mptcp_parse_option is no longer exported

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: cfde141e ("mptcp: move option parsing into mptcp_incoming_options()")
Acked-by: default avatarPaolo Abeni <pabeni@redhat.com>
Signed-off-by: default avatarMatthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: default avatarMat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent d6ab5ea2
...@@ -217,12 +217,6 @@ static inline bool rsk_drop_req(const struct request_sock *req) ...@@ -217,12 +217,6 @@ static inline bool rsk_drop_req(const struct request_sock *req)
return false; 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, static inline bool mptcp_syn_options(struct sock *sk, const struct sk_buff *skb,
unsigned int *size, unsigned int *size,
struct mptcp_out_options *opts) struct mptcp_out_options *opts)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment