windows-vc-locks-and-more-20060115
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 16 Jan 2006 02:05:27 +0000 (02:05 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 16 Jan 2006 02:05:27 +0000 (02:05 +0000)
commit880a6b66a5477e092d5bb74febbf24639d786c64
treeec16d549f990cb2b394716b905f7504d33df58c6
parent9435d0e973bcde2d97031229f4a11c89fe4651ff
windows-vc-locks-and-more-20060115

This patch fixes several issues:

 * the smb virtual circuits can be active and/or dead.   this patch
   improves the handling of vc's making the transition from active
   to dead

 * correct the refcounts on the smb_user_t and smb_vc_t objects

 * replace the deprecated GetCurrentTime() with GetTickCounts() which
   is the new name.  This function needs to be replaced with something
   else because its return value wraps after 49.7 days

 * hold the correct locks when adjusting the scp->fileLocksH queue

 * add new event log entries for unexpected session closures and
   send packet failures
src/WINNT/afsd/afsd_eventlog.c
src/WINNT/afsd/afsd_eventmessages.mc
src/WINNT/afsd/cm_conn.c
src/WINNT/afsd/cm_vnodeops.c
src/WINNT/afsd/smb.c
src/WINNT/afsd/smb.h
src/WINNT/afsd/smb3.c
src/WINNT/afsd/smb_ioctl.c