mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 04:32:03 +00:00
ila: add NETFILTER dependency
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: 7f00feaf10
("ila: Add generic ILA translation facility")
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b3e0d3d7ba
commit
8cb964daeb
@ -94,6 +94,7 @@ config IPV6_MIP6
|
|||||||
|
|
||||||
config IPV6_ILA
|
config IPV6_ILA
|
||||||
tristate "IPv6: Identifier Locator Addressing (ILA)"
|
tristate "IPv6: Identifier Locator Addressing (ILA)"
|
||||||
|
depends on NETFILTER
|
||||||
select LWTUNNEL
|
select LWTUNNEL
|
||||||
---help---
|
---help---
|
||||||
Support for IPv6 Identifier Locator Addressing (ILA).
|
Support for IPv6 Identifier Locator Addressing (ILA).
|
||||||
|
Loading…
Reference in New Issue
Block a user