diff options
| author | 2016-11-10 12:24:10 +0100 | |
|---|---|---|
| committer | 2016-11-10 13:28:46 +0100 | |
| commit | cee8b97b6c13b1331aa3a89a1aab2ca6a7bd06d0 (patch) | |
| tree | ca4b75d5f541532a15d65367160d7f7ca9950d33 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | netfilter: ipset: Simplify mtype_expire() for hash types (diff) | |
| download | wireguard-linux-cee8b97b6c13b1331aa3a89a1aab2ca6a7bd06d0.tar.xz wireguard-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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
