rculfhash: add missing clear flag in gc
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 9 Jul 2011 20:43:26 +0000 (16:43 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 9 Jul 2011 20:43:26 +0000 (16:43 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
rculfhash.c

index e8147178ada51bc333c27237ac806311c8bc08a0..0c433e54050ea0ba311b91114f6c58b26222629e 100644 (file)
@@ -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));
This page took 0.026665 seconds and 4 git commands to generate.