[OpenSIPS-Devel] [OpenSIPS/opensips] b0a313: dialog: fix double lock get on replication update

Răzvan Crainea noreply at github.com
Wed Aug 14 04:03:32 EDT 2019


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