OpenAFS CVS Commit: openafs/src/rx by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Mon, 05 Jan 2009 18:13:08 EST
Update of /cvs/openafs/src/rx
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-5/src/rx
Modified Files:
Tag: openafs-devel-1_5_x
rx_rdwr.c
Log Message:
DELTA DEVEL15-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 for openafs-devel-1_5_x follows ---
DEVEL15-rx-do-not-race-current-packet-20090105 openafs/src/rx/rx_rdwr.c 1.29.2.13 1.29.2.14