[OpenSIPS-Devel] [OpenSIPS/opensips] 375ddf: clusterer: fix possible deadlocks when discovering...

Vlad Pătrașcu noreply at github.com
Fri Jul 15 17:49:11 UTC 2022


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 375ddf38f4d2bb9c5954bb9a991522eadc04e083
      https://github.com/OpenSIPS/opensips/commit/375ddf38f4d2bb9c5954bb9a991522eadc04e083
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2022-07-15 (Fri, 15 Jul 2022)

  Changed paths:
    M modules/clusterer/clusterer.c

  Log Message:
  -----------
  clusterer: fix possible deadlocks when discovering a new node

Use only standard RW locking operations for the global list lock instead of
the "switchable" mechanism (aquiring the lock for writing when necessary).

(cherry picked from commit e0e9e2f943ca5bd35f653f6e55a89000e8b262e6)





More information about the Devel mailing list