diff options
| author | Jozsef Kadlecsik <[email protected]> | 2016-11-10 12:24:10 +0100 |
|---|---|---|
| committer | Jozsef Kadlecsik <[email protected]> | 2016-11-10 13:28:46 +0100 |
| commit | cee8b97b6c13b1331aa3a89a1aab2ca6a7bd06d0 (patch) | |
| tree | ca4b75d5f541532a15d65367160d7f7ca9950d33 /include/linux | |
| parent | 509debc97587629dd5a6dca337afa57cb874b418 (diff) | |
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 <[email protected]>.
Signed-off-by: Jozsef Kadlecsik <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions