Commit fce1528e authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso

netfilter: nf_tables: restore nf_log_trace() in nf_tables_core.c

As described by 4017a7ee ("netfilter: restore rule tracing via
nfnetlink_log"), this accidentally slipped through during conflict
resolution in d5c1d8c5.
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent a81b2ce8
...@@ -50,10 +50,10 @@ static void __nft_trace_packet(const struct nft_pktinfo *pkt, ...@@ -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); 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, nf_log_trace(net, pkt->xt.family, pkt->ops->hooknum, pkt->skb, pkt->in,
pkt->out, &trace_loginfo, "TRACE: %s:%s:%s:%u ", pkt->out, &trace_loginfo, "TRACE: %s:%s:%s:%u ",
chain->table->name, chain->name, comments[type], chain->table->name, chain->name, comments[type],
rulenum); rulenum);
} }
static inline void nft_trace_packet(const struct nft_pktinfo *pkt, static inline void nft_trace_packet(const struct nft_pktinfo *pkt,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment