]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-smb-dont-crash-vista-20061128
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 28 Nov 2006 09:17:14 +0000 (09:17 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 28 Nov 2006 09:17:14 +0000 (09:17 +0000)
commite10ac6392b0be587138e5ffa06b958058d7af155
tree8a6344c9c25e4adc41e6882c198d0b13b0eb1094
parent2e8fa4db1fd29937dbd3467a14ecac1f847571f0
DEVEL15-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.

(cherry picked from commit 1ed0460435ec05150526c951d1ff32dd3b5a9c39)
src/WINNT/afsd/afsd_service.c
src/WINNT/afsd/smb.c
src/WINNT/afsd/smb.h