summaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter
diff options
context:
space:
mode:
authorFlorian Westphal2013-06-05 00:22:15 +0200
committerPablo Neira Ayuso2013-06-05 12:40:28 +0200
commit9cefbbc9c8f9abe0bc514dcfca46e8051ee84050 (patch)
treea2b97a4b79be5ca8a3723f8eb7082732689cee68 /net/ipv4/netfilter
parentnetfilter: Implement RFC 1123 for FTP conntrack (diff)
downloadkernel-qcow2-linux-9cefbbc9c8f9abe0bc514dcfca46e8051ee84050.tar.gz
kernel-qcow2-linux-9cefbbc9c8f9abe0bc514dcfca46e8051ee84050.tar.xz
kernel-qcow2-linux-9cefbbc9c8f9abe0bc514dcfca46e8051ee84050.zip
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 'net/ipv4/netfilter')
0 files changed, 0 insertions, 0 deletions