Skip to content
Commit 8cb964da authored by Arnd Bergmann's avatar Arnd Bergmann Committed by David S. Miller
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: 7f00feaf

 ("ila: Add generic ILA translation facility")
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b3e0d3d7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment