From: Jozsef Kadlecsik Date: Mon, 14 May 2012 01:47:01 +0000 (+0000) Subject: netfilter: ipset: fix hash size checking in kernel X-Git-Tag: v3.4~26^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26a5d3cc0b3d1ff23b5a94edb58226afe7f12a0c;p=pandora-kernel.git netfilter: ipset: fix hash size checking in kernel The hash size must fit both into u32 (jhash) and the max value of size_t. The missing checking could lead to kernel crash, bug reported by Seblu. Signed-off-by: Jozsef Kadlecsik Signed-off-by: Pablo Neira Ayuso Signed-off-by: David S. Miller --- Reading git-diff-tree failed