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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Tue, 28 Nov 2006 04:16:37 EST


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

Modified Files:
	afsd_service.c smb.c smb.h 
Log Message:
DELTA windows-smb-dont-crash-vista-20061128
AUTHOR jaltman@secure-endpoints.com

Unlike previous versions of the OS, Vista performs a shutdown on
the Microsoft Loopback adapter just like it would on a real adapter.
This causes the smb_Listener threads to trigger a panic during a
suspend/hibernate power event.

The fix is to unbind from the network adapters in response to a
suspend/hibernate power event and then rebind to the adapters
when a resume power event is received.  Note that the resume events
are not reliably delivered so it is possible the afs service will
not be accessible.  However, this is the best we can do.



--- DELTA config follows ---
windows-smb-dont-crash-vista-20061128 openafs/src/WINNT/afsd/afsd_service.c 1.59 1.60
windows-smb-dont-crash-vista-20061128 openafs/src/WINNT/afsd/smb.c 1.144 1.145
windows-smb-dont-crash-vista-20061128 openafs/src/WINNT/afsd/smb.h 1.51 1.52