* [PATCH -next] netfilter: tproxy: fix build with IP6_NF_IPTABLES=n
[not found] <51fd4909.9l/Oq5RafYHkZm62%fengguang.wu@intel.com>
@ 2013-08-04 9:37 ` Florian Westphal
2013-08-05 11:05 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Florian Westphal @ 2013-08-04 9:37 UTC (permalink / raw)
To: netfilter-devel; +Cc: pablo, kbuild-all, fengguang.wu, Florian Westphal
after commit 93742cf8af9dd3b053242b273040aa35fcbf93b3
(netfilter: tproxy: remove nf_tproxy_core.h)
CONFIG_IPV6=y
CONFIG_IP6_NF_IPTABLES=n
gives us:
net/netfilter/xt_TPROXY.c: In function 'nf_tproxy_get_sock_v6':
net/netfilter/xt_TPROXY.c:178:4: error: implicit declaration of function 'inet6_lookup_listener'
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
---
diff --git a/net/netfilter/xt_TPROXY.c b/net/netfilter/xt_TPROXY.c
index 851383a..5d8a3a3 100644
--- a/net/netfilter/xt_TPROXY.c
+++ b/net/netfilter/xt_TPROXY.c
@@ -161,7 +161,7 @@ nf_tproxy_get_sock_v4(struct net *net, const u8 protocol,
return sk;
}
-#if IS_ENABLED(CONFIG_IPV6)
+#ifdef XT_TPROXY_HAVE_IPV6
static inline struct sock *
nf_tproxy_get_sock_v6(struct net *net, const u8 protocol,
const struct in6_addr *saddr, const struct in6_addr *daddr,
--
1.8.1.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] netfilter: tproxy: fix build with IP6_NF_IPTABLES=n
2013-08-04 9:37 ` [PATCH -next] netfilter: tproxy: fix build with IP6_NF_IPTABLES=n Florian Westphal
@ 2013-08-05 11:05 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2013-08-05 11:05 UTC (permalink / raw)
To: Florian Westphal; +Cc: netfilter-devel, kbuild-all, fengguang.wu
On Sun, Aug 04, 2013 at 11:37:29AM +0200, Florian Westphal wrote:
> after commit 93742cf8af9dd3b053242b273040aa35fcbf93b3
> (netfilter: tproxy: remove nf_tproxy_core.h)
> CONFIG_IPV6=y
> CONFIG_IP6_NF_IPTABLES=n
> gives us:
>
> net/netfilter/xt_TPROXY.c: In function 'nf_tproxy_get_sock_v6':
> net/netfilter/xt_TPROXY.c:178:4: error: implicit declaration of function 'inet6_lookup_listener'
Applied, thanks Florian.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-05 11:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <51fd4909.9l/Oq5RafYHkZm62%fengguang.wu@intel.com>
2013-08-04 9:37 ` [PATCH -next] netfilter: tproxy: fix build with IP6_NF_IPTABLES=n Florian Westphal
2013-08-05 11:05 ` Pablo Neira Ayuso
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.