Revision: 4190
          http://openser.svn.sourceforge.net/openser/?rev=4190&view=rev
Author:   bogdan_iancu
Date:     2008-05-15 03:56:46 -0700 (Thu, 15 May 2008)

Log Message:
-----------
- fixed race condition that may lead to deadlock on the transaction lock. As 
the reply route (t_on_reply()) stored in transaction may be changed in reply 
route br the current process or any other process, to avoid race conditions, it 
is better to make a local copy of the reply route number to be sure it will not 
be changed.
The deadlock can appear as the reply route number is used in several conditions 
to determine id locking is required. But as this value may be changed (by 
current or other process), it may lead to multiple lockings with no unlock -> 
deadlock.

NOTE: this might happen only if onreply_avp_mode is turned on.

Modified Paths:
--------------
    trunk/modules/tm/t_reply.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

_______________________________________________
Devel mailing list
Devel@lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to