OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1535-gc200108

Gerrit Code Review gerrit@openafs.org
Sun, 14 Aug 2011 11:34:56 -0700 (PDT)


The following commit has been merged in the master branch:
commit c20010850e2b43a0b9a6d74357ea6111dbf3409e
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Sun Aug 14 00:14:10 2011 -0400

    Windows: prevent cm_server races
    
    Use interlocked operations to modified the flags field.
    
    Close a race in cm_NewServer() which can result in multiple
    cm_server objecs being created for the same addr/port/type
    tuple.
    
    Change-Id: Ia26e21e1f007875ce316d2ae45a1fbf6fed835f9
    Reviewed-on: http://gerrit.openafs.org/5266
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>

 src/WINNT/afsd/afsd_init.c   |   12 +++---
 src/WINNT/afsd/cm_callback.c |   17 +++-----
 src/WINNT/afsd/cm_cell.c     |    2 +-
 src/WINNT/afsd/cm_conn.c     |    2 +-
 src/WINNT/afsd/cm_ioctl.c    |    6 +-
 src/WINNT/afsd/cm_server.c   |  103 +++++++++++++++++++++---------------------
 src/WINNT/afsd/cm_server.h   |    6 +-
 src/WINNT/afsd/cm_volume.c   |    4 +-
 8 files changed, 74 insertions(+), 78 deletions(-)

-- 
OpenAFS Master Repository