瀏覽代碼

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

Daniel-Constantin Mierla 10 年之前
父節點
當前提交
6a9c892fd0
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      modules/dialog/dlg_handlers.c

+ 1 - 0
modules/dialog/dlg_handlers.c

@@ -823,6 +823,7 @@ int dlg_new_dialog(sip_msg_t *req, struct cell *t, const int run_initial_cbs)
 		}
 		/* lock the slot - dlg found, but in dlg_state_deleted, do a new one */
 		dlg_hash_lock(&callid);
+		mlock = 1;
     }
     spiral_detected = 0;