]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit702b71e7c666a1c9be9d49e8cd173f0d4d1e859f
tree4a4d1fc6c8792a564c0cb5aa2a7ffd8a375abdb2
parenta54dad51a83ba08e951191ce3e1e9eb44750c0bb
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