netfilter: nf_tables: restore nf_log_trace() in nf_tables_core.c
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 24 Mar 2015 09:55:38 +0000 (10:55 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 25 Mar 2015 11:09:39 +0000 (12:09 +0100)
As described by 4017a7e ("netfilter: restore rule tracing via
nfnetlink_log"), this accidentally slipped through during conflict
resolution in d5c1d8c.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_core.c

index 763a9d87296d6da58ae9e351090e56e8cb12866a..4429008fe99dbaf692dccb22b6c3ff3c4eb7093b 100644 (file)
@@ -50,10 +50,10 @@ static void __nft_trace_packet(const struct nft_pktinfo *pkt,
 {
        struct net *net = dev_net(pkt->in ? pkt->in : pkt->out);
 
-       nf_log_packet(net, pkt->xt.family, pkt->ops->hooknum, pkt->skb, pkt->in,
-                     pkt->out, &trace_loginfo, "TRACE: %s:%s:%s:%u ",
-                     chain->table->name, chain->name, comments[type],
-                     rulenum);
+       nf_log_trace(net, pkt->xt.family, pkt->ops->hooknum, pkt->skb, pkt->in,
+                    pkt->out, &trace_loginfo, "TRACE: %s:%s:%s:%u ",
+                    chain->table->name, chain->name, comments[type],
+                    rulenum);
 }
 
 static inline void nft_trace_packet(const struct nft_pktinfo *pkt,