linux/net/netfilter/ipset
Sergey Popovich aff227581e netfilter: ipset: Check CIDR value only when attribute is given
There is no reason to check CIDR value regardless attribute
specifying CIDR is given.

Initialize cidr array in element structure on element structure
declaration to let more freedom to the compiler to optimize
initialization right before element structure is used.

Remove local variables cidr and cidr2 for netnet and netportnet
hashes as we do not use packed cidr value for such set types and
can store value directly in e.cidr[].

Signed-off-by: Sergey Popovich <popovich_sergei@mail.ua>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
2015-06-14 10:40:14 +02:00
..
ip_set_bitmap_gen.h netfilter: ipset: Add skbinfo extension kernel support for the bitmap set types. 2014-09-15 22:20:20 +02:00
ip_set_bitmap_ip.c netfilter: ipset: Make sure we always return line number on batch 2015-06-14 10:40:13 +02:00
ip_set_bitmap_ipmac.c netfilter: ipset: Make sure we always return line number on batch 2015-06-14 10:40:13 +02:00
ip_set_bitmap_port.c netfilter: ipset: Make sure we always return line number on batch 2015-06-14 10:40:13 +02:00
ip_set_core.c netfilter: ipset: Check extensions attributes before getting extensions. 2015-06-14 10:40:13 +02:00
ip_set_getport.c netfilter: ipset: make ip_set_get_ip*_port to use skb_network_offset 2015-05-13 13:25:45 +02:00
ip_set_hash_gen.h netfilter: ipset: Use SET_WITH_*() helpers to test set extensions 2015-06-14 10:40:12 +02:00
ip_set_hash_ip.c netfilter: ipset: Make sure we always return line number on batch 2015-06-14 10:40:13 +02:00
ip_set_hash_ipmark.c netfilter: ipset: Make sure we always return line number on batch 2015-06-14 10:40:13 +02:00
ip_set_hash_ipport.c netfilter: ipset: Make sure we always return line number on batch 2015-06-14 10:40:13 +02:00
ip_set_hash_ipportip.c netfilter: ipset: Make sure we always return line number on batch 2015-06-14 10:40:13 +02:00
ip_set_hash_ipportnet.c netfilter: ipset: Make sure we always return line number on batch 2015-06-14 10:40:13 +02:00
ip_set_hash_mac.c netfilter: ipset: Make sure we always return line number on batch 2015-06-14 10:40:13 +02:00
ip_set_hash_net.c netfilter: ipset: Check CIDR value only when attribute is given 2015-06-14 10:40:14 +02:00
ip_set_hash_netiface.c netfilter: ipset: Check CIDR value only when attribute is given 2015-06-14 10:40:14 +02:00
ip_set_hash_netnet.c netfilter: ipset: Check CIDR value only when attribute is given 2015-06-14 10:40:14 +02:00
ip_set_hash_netport.c netfilter: ipset: Make sure we always return line number on batch 2015-06-14 10:40:13 +02:00
ip_set_hash_netportnet.c netfilter: ipset: Check CIDR value only when attribute is given 2015-06-14 10:40:14 +02:00
ip_set_list_set.c netfilter: ipset: Make sure we always return line number on batch 2015-06-14 10:40:13 +02:00
Kconfig netfilter: ipset: hash:mac type added to ipset 2014-09-15 22:20:21 +02:00
Makefile netfilter: ipset: hash:mac type added to ipset 2014-09-15 22:20:21 +02:00
pfxlen.c netfilter: Convert uses of __constant_<foo> to <foo> 2014-03-13 14:13:19 +01:00