OpenAFS CVS Commit: openafs/src/viced by shadow
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Sun, 17 Oct 2004 23:19:40 EDT
Update of /cvs/openafs/src/viced
In directory GRAND.CENTRAL.ORG:/data/sb/openafs-stable-1_2_x/src/viced
Modified Files:
Tag: openafs-stable-1_2_x
callback.c
Log Message:
DELTA STABLE12-callback-rxcon-protection-20031114
AUTHOR shadow@dementia.org
FIXES 2498
CheckHost() sets the HOSTDELETED flag on a host, does its
touch, calls H_UNLOCK at the end of its function;
AddCallBCal1 in a different thread grabs the lock, does its
thing. Gets to GetSomeSpace_r(), which calls
h_Enumerate_r; the host in question isn't held, so
h_Enumerate_r calls h_Hold_r and h_Release_r on the host
that CheckHost() set the HOSTDELETED flag on; h_Release_r
sees the HOSTDELETED flag and calls h_TossStuff_r, poof, we
have our broken host entry for ClearHostCallbacks_r to trip
--- DELTA config for openafs-stable-1_2_x follows ---
STABLE12-callback-rxcon-protection-20031114 openafs/src/viced/callback.c 1.6.2.9 1.6.2.10