commit | 1f27e2516c1d95ae19024bec5be68a3f489cc47e | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Thu May 10 22:11:54 2012 +0000 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Thu May 17 00:56:31 2012 +0200 |
tree | 9eeb1a8d5b8248ec36602198aeafaf9e07e7fcc5 | |
parent | 6d8823db422ae6719c7840fe11f737a40ffe4993 [diff] |
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 <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>