Browse code

dialog: mark slot as lock if dialog found in state deleted for spiral detection

Daniel-Constantin Mierla authored on 14/09/2015 10:05:27
Showing 1 changed files
... ...
@@ -823,6 +823,7 @@ int dlg_new_dialog(sip_msg_t *req, struct cell *t, const int run_initial_cbs)
823 823
 		}
824 824
 		/* lock the slot - dlg found, but in dlg_state_deleted, do a new one */
825 825
 		dlg_hash_lock(&callid);
826
+		mlock = 1;
826 827
     }
827 828
     spiral_detected = 0;
828 829