]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-windows-callback-race-20050427
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 27 Apr 2005 16:32:52 +0000 (16:32 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 27 Apr 2005 16:32:52 +0000 (16:32 +0000)
commit935d7009cf4e7f4ffd4df1d922ef0adca5236077
tree369bb26c8f7cbc73274c3b1059de36d421090c89
parentc81ad62799f45701e5c07d98c05ff8033c2baacf
STABLE14-windows-callback-race-20050427

cm_EndCallbackGrantingCall contained a race condition due to the release
of the cm_callbackLock in the middle of the for() loop.  The race was
removed by optimizing out the call to cm_CallbackNotifyChange().  There
is no reason this needed to be called once per callback revoke in the
list.

(cherry picked from commit 8085bc4d476a2e77b26454929cdfa1d034c754f7)
src/WINNT/afsd/cm_callback.c