OpenAFS CVS Commit: openafs/src/viced by jaltman

Mon, 23 Jan 2006 16:28:43 EST

Update of /cvs/openafs/src/viced
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-4/src/viced

Modified Files:
      Tag: openafs-stable-1_4_x
Log Message:
DELTA STABLE14-check-host-optimize-20060123

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 for openafs-stable-1_4_x follows ---
STABLE14-check-host-optimize-20060123 openafs/src/viced/host.c