]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ipset: Add element count to all set types header
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 10 Oct 2016 20:07:41 +0000 (22:07 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 10 Nov 2016 12:28:45 +0000 (13:28 +0100)
commitc487c33e9f6261761df29ae8574d28f549e905be
tree4a4d1fc6c8792a564c0cb5aa2a7ffd8a375abdb2
parent9ccd399b19037bff10b24074fc3ccf2b909e6b4f
netfilter: ipset: Add element count to all set types header

It is better to list the set elements for all set types, thus the
header information is uniform. Element counts are therefore added
to the bitmap and list types.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
include/linux/netfilter/ipset/ip_set.h
include/linux/netfilter/ipset/ip_set_bitmap.h
net/netfilter/ipset/ip_set_bitmap_gen.h
net/netfilter/ipset/ip_set_hash_gen.h
net/netfilter/ipset/ip_set_list_set.c