]> git.baikalelectronics.ru Git - kernel.git/commit
ila: add NETFILTER dependency
authorArnd Bergmann <arnd@arndb.de>
Fri, 18 Dec 2015 14:37:37 +0000 (15:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Dec 2015 19:19:28 +0000 (14:19 -0500)
commitc7e61443a1db633d0feb1e0f224f723a993e77dc
tree8071b7031d8aefc07901055a1b86e3130b6b2fcb
parentb36f7f9f1780fd646d3f6f0774f1e46fc77c21d5
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: f861497b0c6e ("ila: Add generic ILA translation facility")
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/Kconfig