# \[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 
- List: netdev
- Page: https://ratatoskr.run/netdev/2015/01/10976531
- Thread: https://ratatoskr.run/netdev/2015/01/10975759/t.md

```text
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 [ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
```
