]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-viced-client-cps-race-fix-20060220
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 20 Feb 2006 15:27:06 +0000 (15:27 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 20 Feb 2006 15:27:06 +0000 (15:27 +0000)
commit8fc8483ae7aed185e4555f891952c8d62fb27479
tree4e7c5b4b684b4342b5c1e44616b45e8b2650359c
parentb7e89d37e0455fcd0d3b0e8e59d6c4d9005de97f
STABLE14-viced-client-cps-race-fix-20060220

remove a race condition between h_TossStuff_r and SRXAFS_FlushCPS by
changing h_ID2Client to return the client with a refcount and then
release the refCount with PutClient.

when the CPS list is non-NULL and the viceid is ANONYMOUSID be sure
to set the prlist_val to NULL if the prlist_len is being set to 0
since all of the tests are performed on prlist_val

(cherry picked from commit 4808977d7d0e49e5d260a26113fd97cb48d5f844)
src/viced/afsfileprocs.c
src/viced/host.c