OpenAFS CVS Commit: openafs/src/rx by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Mon, 05 Jan 2009 18:12:54 EST
Update of /cvs/openafs/src/rx
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-head/src/rx
Modified Files:
rx_rdwr.c
Log Message:
DELTA rx-do-not-race-current-packet-20090105
AUTHOR jaltman@your-file-system.com
LICENSE MIT
Throughout rx_rdwr.c functions allocate a register variable 'cp'
which is used to optimize access to call->currentPacket.
Unfortunately, if the call->lock is dropped (for example, CV_WAIT)
the synchronization between the two is lost. This delta re-syncs
'cp' and call->currentPacket after each location where the call->lock
may be dropped.
--- DELTA config follows ---
rx-do-not-race-current-packet-20090105 openafs/src/rx/rx_rdwr.c 1.43 1.44