]> granicus.if.org Git - ipset/commit
Fix timeout value overflow bug at large timeout parameters
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Fri, 4 May 2012 19:37:28 +0000 (21:37 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Fri, 4 May 2012 19:37:28 +0000 (21:37 +0200)
commit7219d88329cabcdd05df9477af6e2dee007b60b1
tree1acd3e29f2bbbce49dc8e2b0e0d8ed18a9f111a3
parent02cb61dcb7a120b7a5f7a480fd2b43f49e28dafc
Fix timeout value overflow bug at large timeout parameters

Large timeout parameters could result wrong timeout values due to
an overflow at msec to jiffies conversion (reported by Andreas Herz)
15 files changed:
include/libipset/parse.h
kernel/include/linux/netfilter/ipset/ip_set_timeout.h
kernel/net/netfilter/xt_set.c
lib/ipset_bitmap_ip.c
lib/ipset_bitmap_ipmac.c
lib/ipset_bitmap_port.c
lib/ipset_hash_ip.c
lib/ipset_hash_ipport.c
lib/ipset_hash_ipportip.c
lib/ipset_hash_ipportnet.c
lib/ipset_hash_net.c
lib/ipset_hash_netiface.c
lib/ipset_hash_netport.c
lib/ipset_list_set.c
lib/parse.c