netfilter: ebt_log: add net namespace support for ebt_log
authorGao feng <gaofeng@cn.fujitsu.com>
Sun, 24 Mar 2013 23:50:41 +0000 (23:50 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 5 Apr 2013 18:57:27 +0000 (20:57 +0200)
commit7d2789246cc9423d66d903f992d13a022710592a
tree211354c39c1467fdca88dc7593227e194b62f140
parent30e0c6a6bee24db0166b7ca709277cd693e179f2
netfilter: ebt_log: add net namespace support for ebt_log

Add pernet support to ebt_log by means of the new nf_log_set
function added in (30e0c6a netfilter: nf_log: prepare net
namespace support for loggers).

Since syslog ns has yet not been implemented, we don't want
the containers to DDOS host's syslogd. So only enable ebt_log
only from init_net and wait for syslog ns support.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/bridge/netfilter/ebt_log.c