]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
netfilter: fix ebtables dependencies
authorPatrick McHardy <kaber@trash.net>
Tue, 14 Oct 2008 18:57:33 +0000 (11:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2008 18:57:33 +0000 (11:57 -0700)
Ingo Molnar reported a build error with ebtables:

ERROR: "ebt_register_table" [net/bridge/netfilter/ebtable_filter.ko] undefined!
ERROR: "ebt_do_table" [net/bridge/netfilter/ebtable_filter.ko] undefined!
ERROR: "ebt_unregister_table" [net/bridge/netfilter/ebtable_filter.ko] undefined!
ERROR: "ebt_register_table" [net/bridge/netfilter/ebtable_broute.ko] undefined!
ERROR: "ebt_do_table" [net/bridge/netfilter/ebtable_broute.ko] undefined!
ERROR: "ebt_unregister_table" [net/bridge/netfilter/ebtable_broute.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

This reason is a missing dependencies that got lost during Kconfig cleanups.
Restore it.

Tested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/netfilter/Kconfig

index 366d3e9d51f8ed49dbac3708c90c2de28d5c9f3a..ba6f73eb06c60c1a7f44e90eacfe5c130819ddd8 100644 (file)
@@ -4,6 +4,7 @@
 
 menuconfig BRIDGE_NF_EBTABLES
        tristate "Ethernet Bridge tables (ebtables) support"
+       depends on BRIDGE && BRIDGE_NETFILTER
        select NETFILTER_XTABLES
        help
          ebtables is a general, extensible frame/packet identification