summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2015-03-03 23:10:04 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2015-03-06 03:21:11 +0300
commit01ef16c2dd2e9a77fbd94eb0314c4787ab8f7113 (patch)
treef9d042881409f3361005330e1770ece8fbed0d04 /include/uapi/linux
parent43270b1bc5f1e33522dacf3d3b9175c29404c36c (diff)
downloadlinux-01ef16c2dd2e9a77fbd94eb0314c4787ab8f7113.tar.xz
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 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions