Re: [PATCH next] netfilter: xt_hashlimit: use _ALL macro to reject unknown flag bits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 11, 2012 at 10:11:54AM +0200, Florian Westphal wrote:
> 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.

Applied, thanks Florian.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux