summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2015-03-03 20:10:04 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2015-03-06 01:21:11 +0100
commit01ef16c2dd2e9a77fbd94eb0314c4787ab8f7113 (patch)
treef9d042881409f3361005330e1770ece8fbed0d04 /net/switchdev/switchdev.c
parent43270b1bc5f1e33522dacf3d3b9175c29404c36c (diff)
netfilter: nf_tables: minor tracing cleanups
The tracing code is squeezed between multiple related parts of the evaluation code, move it out. Also add an inline wrapper for the reoccuring test for skb->nf_trace. Small code savings in nft_do_chain(): nft_trace_packet | -137 nft_do_chain | -8 2 functions changed, 145 bytes removed, diff: -145 net/netfilter/nf_tables_core.c: __nft_trace_packet | +137 1 function changed, 137 bytes added, diff: +137 net/netfilter/nf_tables_core.o: 3 functions changed, 137 bytes added, 145 bytes removed, diff: -8 Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions