diff options
| author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2016-11-10 12:24:10 +0100 |
|---|---|---|
| committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2016-11-10 13:28:46 +0100 |
| commit | cee8b97b6c13b1331aa3a89a1aab2ca6a7bd06d0 (patch) | |
| tree | ca4b75d5f541532a15d65367160d7f7ca9950d33 /tools/perf/scripts/python | |
| parent | netfilter: ipset: Simplify mtype_expire() for hash types (diff) | |
| download | linux-cee8b97b6c13b1331aa3a89a1aab2ca6a7bd06d0.tar.gz linux-cee8b97b6c13b1331aa3a89a1aab2ca6a7bd06d0.zip | |
netfilter: ipset: Make NLEN compile time constant for hash types
Hash types define HOST_MASK before inclusion of ip_set_hash_gen.h
and the only place where NLEN needed to be calculated at runtime
is *_create() method.
Ported from a patch proposed by Sergey Popovich <popovich_sergei@mail.ua>.
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
