Browse code

sca: call unsafe find entry function to avoid infinite recursion

(cherry picked from commit bd92fb59cce183008956ff060911cc14d3dfb160)

Daniel-Constantin Mierla authored on 08/09/2021 11:30:31
Showing 1 changed files
... ...
@@ -205,7 +205,7 @@ sca_hash_entry *sca_hash_table_slot_kv_find_entry(sca_hash_slot *slot, str *key)
205 205
 	sca_hash_entry *e;
206 206
 
207 207
 	lock_get(&slot->lock);
208
-	e = sca_hash_table_slot_kv_find_entry(slot, key);
208
+	e = sca_hash_table_slot_kv_find_entry_unsafe(slot, key);
209 209
 	lock_release(&slot->lock);
210 210
 
211 211
 	return (e);