[OpenSIPS-Devel] [OpenSIPS/opensips] 7ba3c1: dialog: Fix possible deadlocks with pinging + HA
Liviu Chircu
noreply at github.com
Mon Sep 30 11:43:10 EDT 2019
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 7ba3c19dee56886aaff87b80766398b8f78acd5d
https://github.com/OpenSIPS/opensips/commit/7ba3c19dee56886aaff87b80766398b8f78acd5d
Author: Liviu Chircu <liviu at opensips.org>
Date: 2019-09-30 (Mon, 30 Sep 2019)
Changed paths:
M modules/dialog/dlg_replication.c
Log Message:
-----------
dialog: Fix possible deadlocks with pinging + HA
The OPTIONS pinging + replicated dialog creation routines were
sufferring from a possible AB/BA deadlock, as they were
both attempting to grab the dialog and the ping timer list locks, but in
differring order.
Many thanks to 46Labs for supporting this fix
(cherry picked from commit e75ebb8b80af41e9829368618618afe558f88ca0)
More information about the Devel
mailing list