commit | 722a94519a683d8ba5a8e75dec9622cc906273c1 | [log] [tgz] |
---|---|---|
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | Mon Oct 10 21:44:32 2016 +0200 |
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | Thu Nov 10 13:28:44 2016 +0100 |
tree | 244f8757d299166d25372e0bc1c192cb56fc8934 | |
parent | 57982edc2739b4473868e7579c0185270468bae1 [diff] |
netfilter: ipset: Separate memsize calculation code into dedicated function Hash types already has it's memsize calculation code in separate functions. Clean up and do the same for *bitmap* and *list* sets. Ported from a patch proposed by Sergey Popovich <popovich_sergei@mail.ua>. Suggested-by: Sergey Popovich <popovich_sergei@mail.ua> Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>