Thread (13 messages) flat view 13 messages, 3 authors, 2016-08-19

Re: [PATCH 3/3] netlink: Use rhashtable walk interface in diag dump

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2016-08-19 08:10:01

On Thu, Aug 18, 2016 at 04:50:58PM +0800, Herbert Xu wrote:
This patch converts the diag dumping code to use the rhashtable
walk code instead of going through rhashtable by hand.  The lock
nl_table_lock is now only taken while we process the multicast
list as it's not needed for the rhashtable walk.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Please drop this patch.  While the current dump is already buggy
my new version seems worse and returns a lot less entries.  I'll
post a new version of this patch when I figure out why.

Thanks,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help