netfilter: ipset: Fix reported memory size for hash:* types
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Wed, 4 Nov 2015 08:44:29 +0000 (09:44 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 10 Nov 2016 12:28:48 +0000 (13:28 +0100)
commita71bdbfa99272f0beb92b669d2bbc626871e00e5
tree25a9bba50ef7e4b5b8c33ce2cf73d12e5a1fddcd
parent9be37d2acdc4fa452a9e250341cbb77668ab94e7
netfilter: ipset: Fix reported memory size for hash:* types

The calculation of the full allocated memory did not take
into account the size of the base hash bucket structure at some
places.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
net/netfilter/ipset/ip_set_hash_gen.h