]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5958e8cf766abfeb2b3463a601f620de85c93fea
tree25a9bba50ef7e4b5b8c33ce2cf73d12e5a1fddcd
parente597f384daff692c6c1e6236f871d9b79432049e
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