|
|
@@ -302,7 +302,8 @@ EXPORT_SYMBOL_GPL(udp6_lib_lookup_skb);
|
|
|
* Does increment socket refcount.
|
|
|
*/
|
|
|
#if IS_ENABLED(CONFIG_NETFILTER_XT_MATCH_SOCKET) || \
|
|
|
- IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TPROXY)
|
|
|
+ IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TPROXY) || \
|
|
|
+ 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)
|
|
|
{
|