OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2021-gff368a7

Gerrit Code Review
Sat, 24 Dec 2011 21:47:16 -0800 (PST)

The following commit has been merged in the master branch:
commit ff368a7ec70fca0673a21f6b283db13cabcc2286
Author: Jeffrey Altman <>
Date:   Sat Dec 24 03:15:53 2011 -0500

    Windows: avoid race in cm_GetNewSCache
    The cm_scacheLock is dropped while walking the scache LRU queue.
    As a result it is possible for the cm_scache_t that is being
    considered for recycling to be accessed and moved to the head
    of the queue.
    Track the prev and next pointers so it is possible to detect if
    the cm_scache_t that is about to be recycled has been moved.  If
    so, restart the search from the tail.
    Change-Id: I6c3b645b85aa60197b9b6d60cffdcb818eb6f4b2
    Tested-by: BuildBot <>
    Reviewed-by: Jeffrey Altman <>
    Tested-by: Jeffrey Altman <>

 src/WINNT/afsd/cm_scache.c |   55 +++++++++++++++++++++++++++++++++++++------
 1 files changed, 47 insertions(+), 8 deletions(-)

OpenAFS Master Repository