Re: [PATCH 2/3] rhashtable: Add rhashtable_walk_curr

2017-12-19 Thread David Miller
From: Andreas Gruenbacher Date: Tue, 19 Dec 2017 09:35:47 +0100 > By the way, git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git > master doesn't merge cleanly with current mainline. Yes, this is the case more often than not :-)

Re: [PATCH 2/3] rhashtable: Add rhashtable_walk_curr

2017-12-19 Thread Andreas Gruenbacher
On 19 December 2017 at 00:38, Herbert Xu wrote: > On Mon, Dec 18, 2017 at 02:31:21PM +0100, Andreas Gruenbacher wrote: >> When iterating through an rhashtable is stopped with >> rhashtable_walk_stop and then resumed with rhashtable_walk_start, there >> currently is no way to get back to the curren

Re: [PATCH 2/3] rhashtable: Add rhashtable_walk_curr

2017-12-18 Thread Herbert Xu
On Mon, Dec 18, 2017 at 02:31:21PM +0100, Andreas Gruenbacher wrote: > When iterating through an rhashtable is stopped with > rhashtable_walk_stop and then resumed with rhashtable_walk_start, there > currently is no way to get back to the current object and thus revisit > the object rhashtable_walk

[PATCH 2/3] rhashtable: Add rhashtable_walk_curr

2017-12-18 Thread Andreas Gruenbacher
When iterating through an rhashtable is stopped with rhashtable_walk_stop and then resumed with rhashtable_walk_start, there currently is no way to get back to the current object and thus revisit the object rhashtable_walk_next has previously returned. This functionality is useful when dumping an