[PATCH 0/2] rhashtable_walk fixes
From: NeilBrown
Date: Wed Mar 28 2018 - 21:20:43 EST
These two patches apply on top of my previous "rhashtable: reset iter
when rhashtable_walk_start sees new table" patch.
The first fixes a bug that I found in rhltable_insert().
The second is an alternate to my "rhashtable: allow a walk of the hash
table without missing object."
This version doesn't require an API change and should be reliable for
rhltables too (my first version didn't handle these correctly).
Thanks,
NeilBrown
---
NeilBrown (2):
rhashtable: fix insertion of in rhltable when duplicate found.
rhashtable: improve rhashtable_walk stability when stop/start used.
include/linux/rhashtable.h | 4 +++-
lib/rhashtable.c | 48 ++++++++++++++++++++++++++++++++++++++++----
2 files changed, 47 insertions(+), 5 deletions(-)
--
Signature