Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1294901
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] ila: add NETFILTER dependency |
| Date | 2015-12-18 15:40 +0100 |
| Message-ID | <qH4mm-6QB-41@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
The recently added generic ILA translation facility fails to
build when CONFIG_NETFILTER is disabled:
net/ipv6/ila/ila_xlat.c:229:20: warning: 'struct nf_hook_state' declared inside parameter list
net/ipv6/ila/ila_xlat.c:235:27: error: array type has incomplete element type 'struct nf_hook_ops'
static struct nf_hook_ops ila_nf_hook_ops[] __read_mostly = {
This adds an explicit Kconfig dependency to avoid that case.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 7f00feaf1076 ("ila: Add generic ILA translation facility")
diff --git a/net/ipv6/Kconfig b/net/ipv6/Kconfig
index 983bb999738c..bb7dabe2ebbf 100644
--- a/net/ipv6/Kconfig
+++ b/net/ipv6/Kconfig
@@ -94,6 +94,7 @@ config IPV6_MIP6
config IPV6_ILA
tristate "IPv6: Identifier Locator Addressing (ILA)"
+ depends on NETFILTER
select LWTUNNEL
---help---
Support for IPv6 Identifier Locator Addressing (ILA).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] ila: add NETFILTER dependency Arnd Bergmann <arnd@arndb.de> - 2015-12-18 15:40 +0100
Re: [PATCH] ila: add NETFILTER dependency Pablo Neira Ayuso <pablo@netfilter.org> - 2015-12-18 18:30 +0100
Re: [PATCH] ila: add NETFILTER dependency Florian Westphal <fw@strlen.de> - 2015-12-18 19:10 +0100
Re: [PATCH] ila: add NETFILTER dependency Pablo Neira Ayuso <pablo@netfilter.org> - 2015-12-18 21:40 +0100
Re: [PATCH] ila: add NETFILTER dependency David Miller <davem@davemloft.net> - 2015-12-18 20:20 +0100
csiph-web