STABLE146-giveupallcallbacks-locking-20071121

LICENSE IPL10
FIXES 74708

Hold H_LOCK across calls into GiveUpAllCallbacks_r


(cherry picked from commit b0b3565b69)
This commit is contained in:
Jeffrey Altman 2007-12-13 20:59:29 +00:00 committed by Derrick Brashear
parent 9c5b45d252
commit c9263a258a

View File

@ -6112,7 +6112,9 @@ common_GiveUpCallBacks(struct rx_call *acall, struct AFSCBFids *FidArray,
(tcon->peer ? tcon->peer->host : 0)));
errorCode = GetClient(tcon, &client);
if (!errorCode) {
H_LOCK;
DeleteAllCallBacks_r(client->host, 1);
H_UNLOCK;
PutClient(&client);
}
} else {