From b453eae1adf45ba2377e50c15b438c77c96a35b5 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sat, 9 Jul 2011 16:43:26 -0400 Subject: [PATCH] rculfhash: add missing clear flag in gc Signed-off-by: Mathieu Desnoyers --- rculfhash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rculfhash.c b/rculfhash.c index e814717..0c433e5 100644 --- a/rculfhash.c +++ b/rculfhash.c @@ -247,7 +247,7 @@ void _ht_gc_bucket(struct rcu_ht_node *dummy, struct rcu_ht_node *node) next = rcu_dereference(clear_flag(iter)->p.next); if (is_removed(next)) break; - iter_prev = iter; + iter_prev = clear_flag(iter); iter = next; } assert(!is_removed(iter)); -- 2.34.1