Subject: Re: [PATCH 1/6] netns brnetfilter: per-netns ebtables

From: Ingo Molnar <[email-masked]>
Date: Mon, 13 Oct 2008 09:09:40 +0200

* Ingo Molnar <[email-masked]> wrote:

> 
> * [email-masked] <[email-masked]> wrote:
> 
> > * make registered ebtables list per-netns
> > * for that, duplicate table at the very beginning of register,
> >   we can't add one table to multiple lists.
> > * propagate netns from userspace socket down to iterators over list,
> > * register individual modules only in init_net for a minute.
> > 
> > Signed-off-by: Alexey Dobriyan <[email-masked]>
> 
> -tip testing found this build failure, config attached:
> 
> ERROR: "ebt_unregister_table" [net/bridge/netfilter/ebtable_nat.ko] undefined!
> ERROR: "ebt_register_table" [net/bridge/netfilter/ebtable_nat.ko] undefined!
> ERROR: "ebt_do_table" [net/bridge/netfilter/ebtable_nat.ko] undefined!
> ERROR: "ebt_unregister_table" [net/bridge/netfilter/ebtable_broute.ko] undefined!
> ERROR: "ebt_register_table" [net/bridge/netfilter/ebtable_broute.ko] undefined!
> ERROR: "ebt_do_table" [net/bridge/netfilter/ebtable_broute.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2

i had a quick look and i think the problem is that CONFIG_BRIDGE=m so 
the ebt_unregister_table symbol is not available to modules properly. 
But i've not dug down deep.

	Ingo