[OpenSIPS-Devel] [OpenSIPS/opensips] f023a5: dialog: fix double lock get on replication update
Răzvan Crainea
noreply at github.com
Wed Aug 14 04:03:16 EDT 2019
Branch: refs/heads/3.0
Home: https://github.com/OpenSIPS/opensips
Commit: f023a5f39e4e8639a6cf117f1ffadc3087a8dd38
https://github.com/OpenSIPS/opensips/commit/f023a5f39e4e8639a6cf117f1ffadc3087a8dd38
Author: Razvan Crainea <razvan at opensips.org>
Date: 2019-08-14 (Wed, 14 Aug 2019)
Changed paths:
M modules/dialog/dlg_replication.c
Log Message:
-----------
dialog: fix double lock get on replication update
When a replicated packet was received due to a timeout update, the
dialog was refferenced with the lock already acquired, resulting in a
deadlock. This fix refferences the dialog in an "unsafe" way, without
trying to acquire the lock, since it is already acquired.
(cherry picked from commit 6b0da180ab8ee33ac0eb784127e7738b90b4517e)
More information about the Devel
mailing list