]> git.michaelhowe.org Git - packages/o/openafs.git/commit
windows-smb-dont-crash-vista-20061128
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 28 Nov 2006 09:16:36 +0000 (09:16 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 28 Nov 2006 09:16:36 +0000 (09:16 +0000)
commit1ed0460435ec05150526c951d1ff32dd3b5a9c39
treed6715d836a6f8212f21e39728e4682ad0817a8d1
parentcb1997aad8a62b31f1e890dfe093a2d4845e0086
windows-smb-dont-crash-vista-20061128

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.
src/WINNT/afsd/afsd_service.c
src/WINNT/afsd/smb.c
src/WINNT/afsd/smb.h