netfilter: nf_tables: unininline nft_trace_packet()

It makes no sense to inline a rarely used function meant for debugging
only that is called a total of five times in the main evaluation loop.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
Patrick McHardy 2014-01-09 18:42:42 +00:00 committed by Pablo Neira Ayuso
parent 62f9c8b40d
commit 6d8c00d58e

View File

@ -103,9 +103,9 @@ static struct nf_loginfo trace_loginfo = {
}, },
}; };
static inline void nft_trace_packet(const struct nft_pktinfo *pkt, static void nft_trace_packet(const struct nft_pktinfo *pkt,
const struct nft_chain *chain, const struct nft_chain *chain,
int rulenum, enum nft_trace type) int rulenum, enum nft_trace type)
{ {
struct net *net = dev_net(pkt->in ? pkt->in : pkt->out); struct net *net = dev_net(pkt->in ? pkt->in : pkt->out);