]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE12-callback-rxcon-protection-20031114
authorDerrick Brashear <shadow@dementia.org>
Mon, 18 Oct 2004 04:19:39 +0000 (04:19 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 18 Oct 2004 04:19:39 +0000 (04:19 +0000)
commit53ff8a8e1452b1997d055393b45a0ce8750aed18
tree61a8cc7302ea5fa24b3092779bec0d9c2cf672ea
parent4f8f8579e6605695f3e1407f0128c3861d99d99a
STABLE12-callback-rxcon-protection-20031114

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

(cherry picked from commit 4458dd4410207fcdf8dec6789f0397adc6ce7b01)
src/viced/callback.c