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

Alexey Dobriyan adobriyan at gmail.com
Mon Oct 13 00:35:01 PDT 2008


On Mon, Oct 13, 2008 at 09:09:40AM +0200, Ingo Molnar wrote:
> 
> * Ingo Molnar <mingo at elte.hu> wrote:
> 
> > 
> > * adobriyan at gmail.com <adobriyan at gmail.com> 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 <adobriyan at gmail.com>
> > 
> > -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.

Ouch, how they managed to get there?

Anyway, ebtables were rewritten to work via xtables, so these patches
are most certainly obsolete, better drop and forget. I should post new
version soon.


More information about the Containers mailing list