From: Josh Hunt <johunt@xxxxxxxxxx> Date: Tue, 24 Feb 2015 11:10:57 -0500 > If an rhashtable user defines a grow_decision fn they must also define a > max_shift parameter. > > Signed-off-by: Josh Hunt <johunt@xxxxxxxxxx> I've already said today that I think this whole indirection stuff with grow and shrink decisions should simply go away. Everyone defines it to the generic rhashtable routine, therefore that should just be made private to lib/rhashtable.c, called directly, and the methods completely removed. Given that, this change makes no sense. When a limit is not specified, we should unconditionally grow rather than refuse to grow. One should not be required to specify this at all. If you have no idea what limit might be reasonable, you specify nothing at all and just let available memory be the limiting factor. -- 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