From: Florian Westphal Date: Tue, 4 Jun 2013 22:22:16 +0000 (+0000) Subject: netfilter: nfnetlink_queue: only add CAP_LEN attr when needed X-Git-Tag: v3.11-rc1~16^2~172^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f87712c0152511a1842698ad8dca425fee2dc4f;p=pandora-kernel.git netfilter: nfnetlink_queue: only add CAP_LEN attr when needed CAP_LEN contains the size of the network packet we're queueing to userspace, i.e. normally it is the same as the NFQA_PAYLOAD attribute len. Include it only in the unlikely case when NFQA_PAYLOAD is truncated due to copy_range limitations. Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed