linux/net/netfilter/ipset
Jozsef Kadlecsik fcb58a0332 netfilter: ipset: use setup_timer() and mod_timer().
Use setup_timer() and instead of init_timer(), being the preferred way
of setting up a timer.

Also, quoting the mod_timer() function comment:
-> mod_timer() is a more efficient way to update the expire field of an
   active timer (if the timer is inactive it will be activated).

Use setup_timer() and mod_timer() to setup and arm a timer, making the
code compact and easier to read.

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
2016-11-10 13:28:49 +01:00
..
ip_set_bitmap_gen.h netfilter: ipset: use setup_timer() and mod_timer(). 2016-11-10 13:28:49 +01:00
ip_set_bitmap_ip.c netfilter: ipset: Fix extension alignment 2015-11-07 11:21:47 +01:00
ip_set_bitmap_ipmac.c netfilter: ipset: Check IPSET_ATTR_ETHER netlink attribute length 2016-03-08 20:36:17 +01:00
ip_set_bitmap_port.c netfilter: ipset: Fix extension alignment 2015-11-07 11:21:47 +01:00
ip_set_core.c netfilter: ipset: Count non-static extension memory for userspace 2016-11-10 13:28:45 +01:00
ip_set_getport.c netfilter: ipset: Fix coding styles reported by checkpatch.pl 2015-06-14 10:40:18 +02:00
ip_set_hash_gen.h netfilter: ipset: use setup_timer() and mod_timer(). 2016-11-10 13:28:49 +01:00
ip_set_hash_ip.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_ipmac.c netfilter: ipset: hash:ipmac type support added to ipset 2016-11-10 13:28:49 +01:00
ip_set_hash_ipmark.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_ipport.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_ipportip.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_ipportnet.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_mac.c netfilter: ipset: Check IPSET_ATTR_ETHER netlink attribute length 2016-03-08 20:36:17 +01:00
ip_set_hash_net.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_netiface.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_netnet.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_netport.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_netportnet.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_list_set.c netfilter: ipset: use setup_timer() and mod_timer(). 2016-11-10 13:28:49 +01:00
Kconfig netfilter: ipset: hash:ipmac type support added to ipset 2016-11-10 13:28:49 +01:00
Makefile netfilter: ipset: hash:ipmac type support added to ipset 2016-11-10 13:28:49 +01:00
pfxlen.c netfilter: ipset: Fix coding styles reported by checkpatch.pl 2015-06-14 10:40:18 +02:00