netfilter: xt_AUDIT: only generate audit log when audit enabled
authorGao feng <gaofeng@cn.fujitsu.com>
Mon, 4 Mar 2013 00:29:12 +0000 (00:29 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 4 Mar 2013 13:45:25 +0000 (14:45 +0100)
commited018fa4dfc3d26da56b9ee7dc75e9d39a39a02b
treeecb910ff5080b35dc1fdae81337bbdb1d2b54841
parentf9caed59f801f77a2844ab04d2dea8df33ac862b
netfilter: xt_AUDIT: only generate audit log when audit enabled

We should stop generting audit log if audit is disabled.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_AUDIT.c