iter = clear_flag(rcu_dereference(iter_prev->next));
if (unlikely(!iter))
break;
- if (iter->reverse_hash < node->reverse_hash)
+ if (iter->reverse_hash > node->reverse_hash)
break;
iter_prev = iter;
check_resize(ht, t, ++chain_len);
iter = clear_flag(rcu_dereference(iter_prev->next));
if (unlikely(!iter))
break;
- if (iter->reverse_hash < node->reverse_hash)
+ if (unlikely(iter->reverse_hash > node->reverse_hash))
break;
if (iter == node) {
found = 1;
for (;;) {
if (unlikely(!node))
break;
- if (node->reverse_hash > reverse_hash) {
+ if (unlikely(node->reverse_hash > reverse_hash)) {
node = NULL;
break;
}
if (!ht->compare_fct(node->key, node->key_len, key, key_len)) {
- if (is_removed(rcu_dereference(node->next)))
+ if (unlikely(is_removed(rcu_dereference(node->next))))
node = NULL;
break;
}