All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: davem@davemloft.net
Cc: Patrick McHardy <kaber@trash.net>, netfilter-devel@vger.kernel.org
Subject: netfilter 02/03: fix ebtables dependencies
Date: Tue, 14 Oct 2008 16:48:47 +0200 (MEST)	[thread overview]
Message-ID: <20081014144845.27355.60146.sendpatchset@x2.localnet> (raw)
In-Reply-To: <20081014144843.27355.98898.sendpatchset@x2.localnet>

commit 0a536ab6cb2021d764921a42ad22a5aadee8fbb8
Author: Patrick McHardy <kaber@trash.net>
Date:   Tue Oct 14 13:51:08 2008 +0200

    netfilter: fix ebtables dependencies
    
    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>

diff --git a/net/bridge/netfilter/Kconfig b/net/bridge/netfilter/Kconfig
index 366d3e9..ba6f73e 100644
--- a/net/bridge/netfilter/Kconfig
+++ b/net/bridge/netfilter/Kconfig
@@ -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

  parent reply	other threads:[~2008-10-14 14:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-14 14:48 netfilter 00/03: netfilter fixes Patrick McHardy
2008-10-14 14:48 ` netfilter 01/03: restore lost Patrick McHardy
2008-10-14 18:57   ` David Miller
2008-10-14 14:48 ` Patrick McHardy [this message]
2008-10-14 18:57   ` netfilter 02/03: fix ebtables dependencies David Miller
2008-10-14 14:48 ` netfilter 03/03: ctnetlink: remove bogus module dependency between ctnetlink and nf_nat Patrick McHardy
2008-10-14 18:59   ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081014144845.27355.60146.sendpatchset@x2.localnet \
    --to=kaber@trash.net \
    --cc=davem@davemloft.net \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.