Module: kamailio
Branch: 4.3
Commit: 39d1b8f8eeddef1d796855e8d7ef63569987fb65
URL:
https://github.com/kamailio/kamailio/commit/39d1b8f8eeddef1d796855e8d7ef635…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-10-01T16:32:28+02:00
dialog: keep slot locked when searching for duplicate dialog
- when attempting to create a new dialog, the function searching to see
if it is already one with same attributes keeps the slot locked so is
no race in between the return of function and building the new dlg
structure
- if the dlg is found, release the lock after figuring out it is a
spiral or not
(cherry picked from commit 9d807d1d8af24c0163d3bb2ae876a87a8b637494)
---
Modified: modules/dialog/dlg_handlers.c
Modified: modules/dialog/dlg_hash.c
Modified: modules/dialog/dlg_hash.h
---
Diff:
https://github.com/kamailio/kamailio/commit/39d1b8f8eeddef1d796855e8d7ef635…
Patch:
https://github.com/kamailio/kamailio/commit/39d1b8f8eeddef1d796855e8d7ef635…