]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-syscfg-getifinfo-20080308
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 8 Mar 2008 23:25:08 +0000 (23:25 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 8 Mar 2008 23:25:08 +0000 (23:25 +0000)
commitefe393ab416a1e54d3a2a0017ee08db856292046
treedc71a7da379784b41f581672a0fef815a3e8b5bd
parent94a08438eb256d5e614d399ce2fb133e6687100c
DEVEL15-windows-syscfg-getifinfo-20080308

LICENSE MIT

syscfg_GetIFInfo() obtains the current list of IP addresses.
Its a really expensive operation.  Call the function once
and cache the data until the next IP address change instead
of calling it everytime we receive a WhoAreYou or construct a
new server object.  Adds a new global rw lock, cm_syscfgLock

(cherry picked from commit 801b670734e254665576dcb71756ea64a123abc9)
src/WINNT/afsd/cm_callback.c
src/WINNT/afsd/cm_daemon.c
src/WINNT/afsd/cm_server.c
src/WINNT/afsd/cm_server.h