summaryrefslogtreecommitdiff
path: root/net/mptcp/protocol.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2020-06-23 15:31:12 -0700
committerDavid S. Miller <davem@davemloft.net>2020-06-23 20:10:15 -0700
commitb03d2142bea8cf7407a0a668ce8f5f115bd226c4 (patch)
treea7f309c617dc49a426ac7aafc23204c637fce4c0 /net/mptcp/protocol.h
parent243600ee660531d2b5b5ef3faab90c5f8ff4c2b6 (diff)
tcp: move ipv6_specific declaration to remove a warning
ipv6_specific should be declared in tcp include files, not mptcp. This removes the following warning : CHECK net/ipv6/tcp_ipv6.c net/ipv6/tcp_ipv6.c:78:42: warning: symbol 'ipv6_specific' was not declared. Should it be static? Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/protocol.h')
-rw-r--r--net/mptcp/protocol.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h
index db56535dfc29..d4294b6d23e4 100644
--- a/net/mptcp/protocol.h
+++ b/net/mptcp/protocol.h
@@ -355,9 +355,6 @@ static inline void mptcp_subflow_tcp_fallback(struct sock *sk,
}
extern const struct inet_connection_sock_af_ops ipv4_specific;
-#if IS_ENABLED(CONFIG_MPTCP_IPV6)
-extern const struct inet_connection_sock_af_ops ipv6_specific;
-#endif
void mptcp_proto_init(void);
#if IS_ENABLED(CONFIG_MPTCP_IPV6)