From: Matthieu Baerts Date: Wed, 16 Feb 2022 02:11:24 +0000 (-0800) Subject: mptcp: mptcp_parse_option is no longer exported X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f8e9ce4a6e85067d7d7cfa89167f5ce5f0ec2a8a;p=linux.git 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: cfde141ea3fa ("mptcp: move option parsing into mptcp_incoming_options()") Acked-by: Paolo Abeni Signed-off-by: Matthieu Baerts Signed-off-by: Mat Martineau Signed-off-by: Jakub Kicinski --- diff --git a/include/net/mptcp.h b/include/net/mptcp.h index a925349b4b899..0a3b0fb04a3b9 100644 --- a/include/net/mptcp.h +++ b/include/net/mptcp.h @@ -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)