windows-callback-shutdown-head-20080801
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 22 Aug 2008 21:57:53 +0000 (21:57 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 22 Aug 2008 21:57:53 +0000 (21:57 +0000)
commit25b819543ea4343216b6a2955396719a49ea042f
tree8403b5eb7086416e1a7d7177445ce8ab6ffd3baf
parent186f707378ce0c04705170743cbc67ff44e1c93f
windows-callback-shutdown-head-20080801

LICENSE MIT

When the cache manager is shutting down, return an error to all
callback requests.  Otherwise, it is possible for a callback to get
stuck waiting for a lock and when the lock clears to be left with
nothing but invalid memory addresses to crash on.

In the meantime, the file server is waiting for the response.
src/WINNT/afsd/afsd_init.c
src/WINNT/afsd/afsd_service.c
src/WINNT/afsd/cm_callback.c
src/WINNT/afsd/cm_callback.h