OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre7-74-gc4e3b49
Gerrit Code Review
gerrit@openafs.org
Sun, 14 Aug 2011 15:30:00 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit c4e3b49fd7581d3229974e8c5f7cb13203a99cd9
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.
Reviewed-on: http://gerrit.openafs.org/5266
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit c20010850e2b43a0b9a6d74357ea6111dbf3409e)
Change-Id: If13f23a921f598db097b391348513a3300d3b10c
Reviewed-on: http://gerrit.openafs.org/5267
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.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