diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-02-03 20:33:25 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-05 04:34:53 (GMT) |
commit | 9a7766288274ef765245ed65e6176a2727b96706 (patch) | |
tree | 2095e94d014d0c0a195b487086c336de86269f92 /include | |
parent | 56d28b1e921b57b918a0ae6b13a1671115fe788d (diff) | |
download | linux-9a7766288274ef765245ed65e6176a2727b96706.tar.xz |
netfilter: Use rhashtable walk iterator
This patch gets rid of the manual rhashtable walk in nft_hash
which touches rhashtable internals that should not be exposed.
It does so by using the rhashtable iterator primitives.
Note that I'm leaving nft_hash_destroy alone since it's only
invoked on shutdown and it shouldn't be affected by changes
to rhashtable internals (or at least not what I'm planning to
change).
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions