[OpenSIPS-Devel] [OpenSIPS/opensips] 5f486b: Fix race condition between retransmission and wait...
Bogdan-Andrei Iancu
bogdan at opensips.org
Wed Jan 13 13:32:39 CET 2016
Branch: refs/heads/2.1
Home: https://github.com/OpenSIPS/opensips
Commit: 5f486bb9c13c369e0ff331517e236e08edabe038
https://github.com/OpenSIPS/opensips/commit/5f486bb9c13c369e0ff331517e236e08edabe038
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2016-01-13 (Wed, 13 Jan 2016)
Changed paths:
M modules/tm/timer.c
M modules/tm/timer.h
Log Message:
-----------
Fix race condition between retransmission and wait timer in TM.
Overlapping of retransmission timer and wait timer may lead to inconsistent timer list -> various crashes around TM timer lists.
Related to #749, #732, #723.
Many thanks for Trevor Francis ( @46labs ) for helping with the troubleshooting.
IMPORTANT NOTE: this is a temporary fix as it simply avoid the collision between the two timer routines - normally the routines themselves should be safe to run in parallel (more digging is required here).
(cherry picked from commit ea6e1fa7fed29efed6057894a8cc4054308160b3)
More information about the Devel
mailing list