summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2013-06-05 02:22:15 +0400
committerPablo Neira Ayuso <pablo@netfilter.org>2013-06-05 14:40:28 +0400
commit9cefbbc9c8f9abe0bc514dcfca46e8051ee84050 (patch)
treea2b97a4b79be5ca8a3723f8eb7082732689cee68 /tools/perf/scripts
parent4e7dba99c9e606e304f104ce4071d8b5ba93957e (diff)
downloadlinux-9cefbbc9c8f9abe0bc514dcfca46e8051ee84050.tar.xz
netfilter: nfnetlink_queue: cleanup copy_range usage
For every packet queued, we check if configured copy_range is 0, and treat that as 'copy entire packet'. We can move this check to the queue configuration, and can set copy_range appropriately. Also, convert repetitive '0xffff - NLA_HDRLEN' to a macro. [ queue initialization still used 0xffff, although its harmless since the initial setting is overwritten on queue config ] Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions