# HG changeset patch # User Sebastien Decugis # Date 1280381371 -32400 # Node ID f6e85a0694eb02cedd8f1d3ac5a347f19e7745f4 # Parent c5e37091553ac562e13ae00072ef01c00c18c9a7 Fix a possible race condition diff -r c5e37091553a -r f6e85a0694eb libfreeDiameter/fifo.c --- a/libfreeDiameter/fifo.c Thu Jul 29 14:07:30 2010 +0900 +++ b/libfreeDiameter/fifo.c Thu Jul 29 14:29:31 2010 +0900 @@ -412,12 +412,6 @@ struct fifo * q = (struct fifo *)queue; TRACE_ENTRY( "%p", queue ); - /* Check the parameter */ - if ( ! CHECK_FIFO( q )) { - TRACE_DEBUG(INFO, "Invalid queue, skipping handler"); - return; - } - /* The thread has been cancelled, therefore it does not wait on the queue anymore */ q->thrs--;