[sr-dev] git:master:9d807d1d: dialog: keep slot locked when searching for duplicate dialog
Daniel-Constantin Mierla
miconda at gmail.com
Thu Oct 1 15:52:19 CEST 2015
Module: kamailio
Branch: master
Commit: 9d807d1d8af24c0163d3bb2ae876a87a8b637494
URL: https://github.com/kamailio/kamailio/commit/9d807d1d8af24c0163d3bb2ae876a87a8b637494
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-10-01T15:49:26+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
---
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/9d807d1d8af24c0163d3bb2ae876a87a8b637494.diff
Patch: https://github.com/kamailio/kamailio/commit/9d807d1d8af24c0163d3bb2ae876a87a8b637494.patch
More information about the sr-dev
mailing list