Thread (79 messages) 79 messages, 6 authors, 2015-02-03

Re: netfilter: Use rhashtable walk iterator

From: David Miller <davem@davemloft.net>
Date: 2015-02-03 03:19:42
Also in: netfilter-devel

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Sat, 31 Jan 2015 15:31:51 +1100
On Sat, Jan 31, 2015 at 02:13:56PM +1100, Herbert Xu wrote:
quoted
No problems.  Here is a new version of these two patches which
hopefully should work on netfilter as well.
And here is the patch for netfilter.

-- >8 --
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>
Applied to net-next.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help