From: Patrick McHardy Date: Sat, 11 Apr 2015 01:27:26 +0000 (+0100) Subject: netfilter: nf_tables: validate len in nft_validate_data_load() X-Git-Tag: omap-for-v4.2/o2_dc~131^2~1^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45d9bcda21f4c13be75e3571b0f0ef39e77934b5;p=pandora-kernel.git netfilter: nf_tables: validate len in nft_validate_data_load() For values spanning multiple registers, we need to validate that enough space is available from the destination register onwards. Add a len argument to nft_validate_data_load() and consolidate the existing length validations in preparation of that. Signed-off-by: Patrick McHardy Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed