|
|
@@ -285,9 +285,7 @@ EXPORT_SYMBOL_GPL(udp6_lib_lookup_skb);
|
|
|
/* Must be called under rcu_read_lock().
|
|
|
* Does increment socket refcount.
|
|
|
*/
|
|
|
-#if IS_ENABLED(CONFIG_NETFILTER_XT_MATCH_SOCKET) || \
|
|
|
- IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TPROXY) || \
|
|
|
- IS_ENABLED(CONFIG_NF_SOCKET_IPV6)
|
|
|
+#if IS_ENABLED(CONFIG_NF_TPROXY_IPV6) || IS_ENABLED(CONFIG_NF_SOCKET_IPV6)
|
|
|
struct sock *udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be16 sport,
|
|
|
const struct in6_addr *daddr, __be16 dport, int dif)
|
|
|
{
|