On 02/09/2015 09:21 AM, Thomas Graf wrote:
On 02/09/15 at 08:44am, Josh Hunt wrote:
On 02/08/2015 04:43 PM, Daniel Borkmann wrote:
This seems not correct as we want to have an upper limit for
rhashtable expansions. It's better to define a max_shift for
nftables, instead.
Thanks Daniel that's what I wanted to know. I'll fix this on the nft_hash
side.
I agree it does not make sense to allow unlimited growth.
Can you enforce a max_shift > 0 in rhashtable_init() while you
are at it?
Yeah I'll do that as well.
--
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