summaryrefslogtreecommitdiffstats
path: root/kernel/net/netfilter/ipset/ip_set_hash_netport.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2015-06-26 11:05:54 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2015-06-26 11:05:54 +0200
commita628660f6a9a4d07e5193e562fe846e94713b2c7 (patch)
tree66274777d41944037f5a71dc07fc2d144255b6d8 /kernel/net/netfilter/ipset/ip_set_hash_netport.c
parent90ca753057549e8c251830b10752c16c76e1bd55 (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