OpenAFS CVS Commit: openafs/src/rx by jaltman

Wed, 18 May 2005 18:01:10 EDT

Update of /cvs/openafs/src/rx
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/rx

Modified Files:
Log Message:
DELTA rx-makecall-race-fix-20050518

On at least one system it was noticed that threads waiting in rx_NewCall
would starve forever (aka deadlock).   This was the result of one out of 
two problems related to a race condition on the RX_CONN_MAKECALL_WAITING 
bit flag.  This flag was set once in rx_NewCall and cleared in rx_EndCall.
However, it was possible for the flag to be cleared even though there 
were additional flags waiting in rx_NewCall.  This was due to a failure
to check the value of makeCallWaiters before clearing the flag and also
due to a failure to properly lock the access to the makeCallWaiters field.

The second problem was an ability to destroy a connection on which threads
are waiting within rx_NewCall. 

--- DELTA config follows ---
rx-makecall-race-fix-20050518 openafs/src/rx/rx.c 1.79 1.80