diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-03-20 21:57:02 +1100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-20 16:16:24 -0400 |
commit | fa3773211eb61f2a08ffc399a98af53594ba1509 (patch) | |
tree | 091bc12c3e98e72cd7c6284eac1beeffe0dae9d4 /lib/inflate.c | |
parent | c428ecd1a21f1457ca3beb4df71b8a079c410e41 (diff) | |
download | blackbird-obmc-linux-fa3773211eb61f2a08ffc399a98af53594ba1509.tar.gz blackbird-obmc-linux-fa3773211eb61f2a08ffc399a98af53594ba1509.zip |
netfilter: Convert nft_hash to inlined rhashtable
This patch converts nft_hash to the inlined rhashtable interface.
This patch also replaces the call to rhashtable_lookup_compare with
a straight rhashtable_lookup_fast because it's simply doing a memcmp
(in fact nft_hash_lookup already uses memcmp instead of nft_data_cmp).
Furthermore, the compare function is only meant to compare, it is not
supposed to have side-effects. The current side-effect code can
simply be moved into the nft_hash_get.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/inflate.c')
0 files changed, 0 insertions, 0 deletions