OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Thu, 26 Jan 2006 01:09:49 EST


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-4/src/WINNT/afsd

Modified Files:
      Tag: openafs-stable-1_4_x
	afslogon.c smb.c smb3.c smb_ioctl.c 
Log Message:
DELTA STABLE14-windows-smb_fid_t-audit-20060125
AUTHOR jaltman@secure-endpoints.com

Further testing revealed that some smb_vc_t objects could not be freed
because the associated smb_fid_t objects never reached a zero refcount.
Additional auditing uncovered cases in which there were holds not being
released and others in which they were released to many times.  This 
patch fixes the problems and improves auditability by modifying the
behavior of the smb_IoctlXXX() functions to not release a reference
that was obtained by the caller.  Now the caller releases the reference.




--- DELTA config for openafs-stable-1_4_x follows ---
STABLE14-windows-smb_fid_t-audit-20060125 openafs/src/WINNT/afsd/afslogon.c 1.24.2.16 1.24.2.17
STABLE14-windows-smb_fid_t-audit-20060125 openafs/src/WINNT/afsd/smb.c 1.55.2.41 1.55.2.42
STABLE14-windows-smb_fid_t-audit-20060125 openafs/src/WINNT/afsd/smb3.c 1.42.2.41 1.42.2.42
STABLE14-windows-smb_fid_t-audit-20060125 openafs/src/WINNT/afsd/smb_ioctl.c 1.14.2.6 1.14.2.7