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

From
David Miller <davem@davemloft.net>
Date
2015-02-03 03:19:35
Also in
netfilter-devel
Reply to
Herbert Xu, 2015-01-31
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Sat, 31 Jan 2015 14:13:56 +1100
On Thu, Jan 29, 2015 at 02:42:46PM -0800, David Miller wrote:
quoted
I'm holding off on this series for now.

Let me know if you want me to do something different.
No problems.  Here is a new version of these two patches which
hopefully should work on netfilter as well.

Note that the major functional difference compared to the previous
one is that resizes are now handled properly and will cause the
iterator to restart from scratch.

However, as with all existing hash table walker implementations,
if you remove an element from the chain that we're walking over
while we're waiting for user-space to give us a new buffer, then
the walk may miss elements that are still on that chain.
Series applied to net-next.
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