OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-274-g10ada52
Gerrit Code Review
gerrit@openafs.org
Tue, 15 Jun 2010 19:51:04 -0700 (PDT)
The following commit has been merged in the master branch:
commit 10ada52c26ac3aa13112a91ad201dd3203bb70f8
Author: Andrew Deason <adeason@sinenomine.net>
Date: Tue Jun 15 12:19:25 2010 -0500
Do not assume non-valid addrs in addr hash table
As part of host state verification, we were calling
h_stateVerifyAddrHash to verify that all addresses for a host were in
the address hash table. The problem with this is that interface
addresses that are not marked as 'valid' are intentionally not in the
addr hash table. So, any time there was a non-'valid' interface
address in the host state, we stood a very good chance to fail to
verify the state.
Instead, if we have a non-'valid' address, try to verify that it is
_not_ in the addr hash table (or at least, is not pointing at the host
with the non-'valid' interface addr), since they're not supposed to be
in there.
Change-Id: I02fb0f516fa3ef384471d19bb1b970cfd8aff874
Reviewed-on: http://gerrit.openafs.org/2205
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/viced/host.c | 47 +++++++++++++++++++++++++++++++++++++++--------
1 files changed, 39 insertions(+), 8 deletions(-)
--
OpenAFS Master Repository