OpenAFS CVS Commit: openafs/src/viced by jaltman
   
    cvs@GRAND.CENTRAL.ORG
     
    cvs@GRAND.CENTRAL.ORG
       
    Mon, 23 Jan 2006 16:13:19 EST
    
    
  
Update of /cvs/openafs/src/viced
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/viced
Modified Files:
	host.c 
Log Message:
DELTA check-host-optimize-20060123
AUTHOR jaltman@secure-endpoints.com
There should never be a case where h_Enumerate calls CheckHost with a 
host whose callback_rxcon that is NULL.  However, due to a bug it ended up
being the case that it happened.  An examination of the CheckHost code
showed that the check for the HOSTDELETED flag should take place before
a reference to callback_rxcon is obtained.  If HOSTDELETED were set, the
code would simply release the reference immediately.  However, the process
of obtaining and releasing the reference required dropping and obtaining
locks that would be a performance hit.
--- DELTA config follows ---
check-host-optimize-20060123 openafs/src/viced/host.c 1.68 1.69