diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-05-14 02:01:46 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-05-17 00:56:35 +0200 |
commit | c44f5faa8e8c2036da2ba656f79b57a737543aff (patch) | |
tree | 01077e73629b4adeff0f7b05d5cca2cdde4cca59 /lib/syscall.c | |
parent | 58618115492711d99fbccb79c5317299e32231fe (diff) | |
download | linux-c44f5faa8e8c2036da2ba656f79b57a737543aff.tar.bz2 |
netfilter: xt_HMARK: modulus is expensive for hash calculation
Use:
((u64)(HASH_VAL * HASH_SIZE)) >> 32
as suggested by David S. Miller.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions