[PATCH 0/2] rhashtable: Add walk iterator primitives and use them in netlink

From
Herbert Xu <herbert@gondor.apana.org.au>
Date
2015-01-27 23:19:50
Also in
netfilter-devel
Reply to
Herbert Xu, 2015-01-25
On Mon, Jan 26, 2015 at 10:20:40AM +1100, Herbert Xu wrote:
Here are the first two patches, one to add the primitives and one
to demonstrate its use in netlink.  In fact while testing this I
found that the existing netlink walking code is totally broken.
So this is a repost of the same thing.  These lockless iterators
won't be usable by netfilter as it stands because it wants to do
nested walks and also isn't currently lockless.

However, I'll wait for Patrick to post his pending patches to see
what exactly he needs before implementing helpers for that case.

Cheers,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Thread (79 messages) 79 messages, 6 authors, last reply 2015-02-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help