diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2015-06-26 11:05:54 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2015-06-26 11:05:54 +0200 |
commit | a628660f6a9a4d07e5193e562fe846e94713b2c7 (patch) | |
tree | 66274777d41944037f5a71dc07fc2d144255b6d8 /kernel/net/netfilter/ipset/ip_set_hash_netport.c | |
parent | 90ca753057549e8c251830b10752c16c76e1bd55 (diff) |
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>.
Diffstat (limited to 'kernel/net/netfilter/ipset/ip_set_hash_netport.c')
0 files changed, 0 insertions, 0 deletions