netfilter: xt_NFLOG: don't call nf_log_packet in NFLOG module.
authorEric Leblond <eric@inl.fr>
Tue, 4 Nov 2008 13:21:08 +0000 (14:21 +0100)
committerPatrick McHardy <kaber@trash.net>
Tue, 4 Nov 2008 13:21:08 +0000 (14:21 +0100)
commit5f7340eff8f68f41b7e5c7ad47ec4cd1ea1afb40
tree4c59b833f6a4d31b1535aa49e078deaa83b10327
parentd2ad3ca88da02baeccd5216780f1fe983c6953ba
netfilter: xt_NFLOG: don't call nf_log_packet in NFLOG module.

This patch modifies xt_NFLOG to suppress the call to nf_log_packet()
function. The call of this wrapper in xt_NFLOG was causing NFLOG to
use the first initialized module. Thus, if ipt_ULOG is loaded before
nfnetlink_log all NFLOG rules are treated as plain LOG rules.

Signed-off-by: Eric Leblond <eric@inl.fr>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/net/netfilter/nfnetlink_log.h [new file with mode: 0644]
net/netfilter/nfnetlink_log.c
net/netfilter/xt_NFLOG.c