From: Florian Westphal Date: Thu, 10 May 2012 22:11:54 +0000 (+0000) Subject: netfilter: xt_hashlimit: use _ALL macro to reject unknown flag bits X-Git-Tag: v3.5-rc1~109^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f27e2516c1d95ae19024bec5be68a3f489cc47e;p=pandora-kernel.git netfilter: xt_hashlimit: use _ALL macro to reject unknown flag bits David Miller says: The canonical way to validate if the set bits are in a valid range is to have a "_ALL" macro, and test: if (val & ~XT_HASHLIMIT_ALL) goto err;" make it so. Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed