[OpenSIPS-Devel] [OpenSIPS/opensips] e75ebb: dialog: Fix possible deadlocks with pinging + HA

Liviu Chircu noreply at github.com
Mon Sep 30 11:20:06 EDT 2019

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e75ebb8b80af41e9829368618618afe558f88ca0
  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

More information about the Devel mailing list