Linux Netfilter development
 help / color / mirror / Atom feed
* Re: [bug, -git] ERROR: "ebt_unregister_table" [net/bridge/netfilter/ebtable_nat.ko] undefined
       [not found]       ` <20081014103005.GA19420@elte.hu>
@ 2008-10-14 11:00         ` Patrick McHardy
  2008-10-14 11:48           ` Ingo Molnar
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick McHardy @ 2008-10-14 11:00 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Alexey Dobriyan, shemminger, netdev, containers, kaber,
	David S. Miller, linux-kernel, Jan Engelhardt,
	Netfilter Development Mailinglist

[-- Attachment #1: Type: text/plain, Size: 1502 bytes --]

Ingo Molnar wrote:
> i think you misunderstood my report. This is about latest upstream -git 
> being broken:
> 
> 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
> 
> i posted to this thread because i wanted to find a relevant context. 
> (but probably is not)
> 
> Anyway, i started a new thread for this.
> 
> the dependencies there look pretty complex so i did not find a quick fix 
> - but i can test patches.

This appears to be caused by Jan's Kconfig changes to use menuconfig,
which lost a dependency on BRIDGE:

-menu "Bridge: Netfilter Configuration"
-       depends on BRIDGE && BRIDGE_NETFILTER
-
-config BRIDGE_NF_EBTABLES
+menuconfig BRIDGE_NF_EBTABLES
         tristate "Ethernet Bridge tables (ebtables) support"
         select NETFILTER_XTABLES
         help
           ebtables is a general, extensible frame/packet identification
           framework. Say 'Y' or 'M' here if you want to do Ethernet
           filtering/NAT/brouting on the Ethernet bridge.

Does this patch fix it?

[-- Attachment #2: x --]
[-- Type: text/plain, Size: 417 bytes --]

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [bug, -git] ERROR: "ebt_unregister_table" [net/bridge/netfilter/ebtable_nat.ko] undefined
  2008-10-14 11:00         ` [bug, -git] ERROR: "ebt_unregister_table" [net/bridge/netfilter/ebtable_nat.ko] undefined Patrick McHardy
@ 2008-10-14 11:48           ` Ingo Molnar
  2008-10-14 11:51             ` Patrick McHardy
  0 siblings, 1 reply; 3+ messages in thread
From: Ingo Molnar @ 2008-10-14 11:48 UTC (permalink / raw)
  To: Patrick McHardy
  Cc: Alexey Dobriyan, shemminger, netdev, containers, kaber,
	David S. Miller, linux-kernel, Jan Engelhardt,
	Netfilter Development Mailinglist


* Patrick McHardy <kaber@trash.net> wrote:

> Ingo Molnar wrote:
>> i think you misunderstood my report. This is about latest upstream -git 
>> being broken:
>>
>> 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
>>
>> i posted to this thread because i wanted to find a relevant context.  
>> (but probably is not)
>>
>> Anyway, i started a new thread for this.
>>
>> the dependencies there look pretty complex so i did not find a quick 
>> fix - but i can test patches.
>
> This appears to be caused by Jan's Kconfig changes to use menuconfig,
> which lost a dependency on BRIDGE:
>
> -menu "Bridge: Netfilter Configuration"
> -       depends on BRIDGE && BRIDGE_NETFILTER
> -
> -config BRIDGE_NF_EBTABLES
> +menuconfig BRIDGE_NF_EBTABLES
>         tristate "Ethernet Bridge tables (ebtables) support"
>         select NETFILTER_XTABLES
>         help
>           ebtables is a general, extensible frame/packet identification
>           framework. Say 'Y' or 'M' here if you want to do Ethernet
>           filtering/NAT/brouting on the Ethernet bridge.
>
> Does this patch fix it?

yeah, the module build now succeeds fine with that config, thanks 
Patrick!

Tested-by: Ingo Molnar <mingo@elte.hu>

	Ingo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [bug, -git] ERROR: "ebt_unregister_table" [net/bridge/netfilter/ebtable_nat.ko] undefined
  2008-10-14 11:48           ` Ingo Molnar
@ 2008-10-14 11:51             ` Patrick McHardy
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick McHardy @ 2008-10-14 11:51 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Alexey Dobriyan, shemminger, netdev, containers, kaber,
	David S. Miller, linux-kernel, Jan Engelhardt,
	Netfilter Development Mailinglist

Ingo Molnar wrote:
> * Patrick McHardy <kaber@trash.net> wrote:
> 
>> Ingo Molnar wrote:
>>> i think you misunderstood my report. This is about latest upstream -git 
>>> being broken:
>>>
>>> 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
>>>
>> Does this patch fix it?
> 
> yeah, the module build now succeeds fine with that config, thanks 
> Patrick!
> 
> Tested-by: Ingo Molnar <mingo@elte.hu>

Thanks Ingo, I'll send it upstream tonight.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-14 11:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20080821221943.GO31136@x200.localdomain>
     [not found] ` <20081013070347.GA3813@elte.hu>
     [not found]   ` <20081013070940.GA6340@elte.hu>
     [not found]     ` <20081013073501.GB4254@x200.localdomain>
     [not found]       ` <20081014103005.GA19420@elte.hu>
2008-10-14 11:00         ` [bug, -git] ERROR: "ebt_unregister_table" [net/bridge/netfilter/ebtable_nat.ko] undefined Patrick McHardy
2008-10-14 11:48           ` Ingo Molnar
2008-10-14 11:51             ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox