OpenCloudOS-Kernel/net/netfilter/ipset
Jozsef Kadlecsik 26a5d3cc0b 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 <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-05-16 15:38:49 -04:00
..
Kconfig netfilter: ipset: hash:net,iface type introduced 2011-06-16 19:00:48 +02:00
Makefile netfilter: ipset: hash:net,iface type introduced 2011-06-16 19:00:48 +02:00
ip_set_bitmap_ip.c netfilter: ipset: use NFPROTO_ constants 2012-03-07 17:40:29 +01:00
ip_set_bitmap_ipmac.c netfilter: ipset: use NFPROTO_ constants 2012-03-07 17:40:29 +01:00
ip_set_bitmap_port.c netfilter: ipset: use NFPROTO_ constants 2012-03-07 17:40:29 +01:00
ip_set_core.c netfilter: ipset: use NFPROTO_ constants 2012-03-07 17:40:29 +01:00
ip_set_getport.c netfilter: ipset: use NFPROTO_ constants 2012-03-07 17:40:29 +01:00
ip_set_hash_ip.c netfilter: ipset: fix hash size checking in kernel 2012-05-16 15:38:49 -04:00
ip_set_hash_ipport.c netfilter: ipset: fix hash size checking in kernel 2012-05-16 15:38:49 -04:00
ip_set_hash_ipportip.c netfilter: ipset: fix hash size checking in kernel 2012-05-16 15:38:49 -04:00
ip_set_hash_ipportnet.c netfilter: ipset: fix hash size checking in kernel 2012-05-16 15:38:49 -04:00
ip_set_hash_net.c netfilter: ipset: fix hash size checking in kernel 2012-05-16 15:38:49 -04:00
ip_set_hash_netiface.c netfilter: ipset: fix hash size checking in kernel 2012-05-16 15:38:49 -04:00
ip_set_hash_netport.c netfilter: ipset: fix hash size checking in kernel 2012-05-16 15:38:49 -04:00
ip_set_list_set.c netfilter: ipset: use NFPROTO_ constants 2012-03-07 17:40:29 +01:00
pfxlen.c net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modules 2011-10-31 19:30:30 -04:00