[OpenSIPS-Devel] [OpenSIPS/opensips] ea6e1f: Fix race condition between retransmission and wait...

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Jan 13 13:31:33 CET 2016


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




More information about the Devel mailing list