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

Liviu Chircu noreply at github.com
Mon Sep 30 10:52:43 EDT 2019

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e79df4b0fc54afeece8466a2a7ba1d2f5b039aa6
  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 pinging (both OPTIONS and Re-INVITE) + 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.

More information about the Devel mailing list