[sr-dev] git:5.3:9f8b5648: p_usrloc: reworking mdb_availability_control

Lucian Balaceanu lucian.balaceanu at 1and1.ro
Fri Jul 17 12:05:07 CEST 2020


Module: kamailio
Branch: 5.3
Commit: 9f8b564800aa029f1d374c502c8c96272e5ea68a
URL: https://github.com/kamailio/kamailio/commit/9f8b564800aa029f1d374c502c8c96272e5ea68a

Author: Lucian Balaceanu <lucian.balaceanu at 1and1.ro>
Committer: Lucian Balaceanu <lucian.balaceanu at 1and1.ro>
Date: 2020-07-17T13:04:32+03:00

p_usrloc: reworking mdb_availability_control

- simplify general implementation
- avoid deadlock due to a process trying to acquire same lock twice

(cherry picked from commit 5789c506d022dd5713072cd1fcc07a25f42e098c)
(cherry picked from commit ffb0576bd7d93303fb1068a332d9477a4d04471b)

---

Modified: src/modules/p_usrloc/p_usrloc_mod.c
Modified: src/modules/p_usrloc/p_usrloc_mod.h
Modified: src/modules/p_usrloc/ul_db.c
Modified: src/modules/p_usrloc/ul_db_watch.c
Modified: src/modules/p_usrloc/ul_db_watch.h

---

Diff:  https://github.com/kamailio/kamailio/commit/9f8b564800aa029f1d374c502c8c96272e5ea68a.diff
Patch: https://github.com/kamailio/kamailio/commit/9f8b564800aa029f1d374c502c8c96272e5ea68a.patch




More information about the sr-dev mailing list