netfilter: netns ebtables: part 2
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 4 Nov 2008 13:27:15 +0000 (14:27 +0100)
committerPatrick McHardy <kaber@trash.net>
Tue, 4 Nov 2008 13:27:15 +0000 (14:27 +0100)
commit6beceee5aa2cb94c4ae9f0784c7d3135d343f5b5
tree9f6bd8ee8c966a2ad5eab64a2472c395ef29e2f4
parent511061e2dd1b84bb21bb97c9216a19606c29ac02
netfilter: netns ebtables: part 2

* return ebt_table from ebt_register_table(), module code will save it into
  per-netns data for unregistration
* duplicate ebt_table at the very beginning of registration -- it's added into
  list, so one ebt_table wouldn't end up in many lists (and each netns has
  different one)
* introduce underscored tables in individial modules, this is temporary to not
  break bisection.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/netfilter_bridge/ebtables.h
net/bridge/netfilter/ebtable_broute.c
net/bridge/netfilter/ebtable_filter.c
net/bridge/netfilter/ebtable_nat.c
net/bridge/netfilter/ebtables.c