OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_72-41-gb8c3c6a

Gerrit Code Review gerrit@openafs.org
Mon, 22 Feb 2010 10:35:55 -0800 (PST)


The following commit has been merged in the master branch:
commit b8c3c6add90ea3face9a16ff04a1024be3d8f32d
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Fri Feb 12 17:44:31 2010 -0600

    Check for HOSTDELETED before h_Hold_r
    
    A few places h_Hold_r a host and later drop and reacquire H_LOCK without
    checking if the hostFlags contains HOSTDELETED. This can cause a race
    with h_TossStuff_r where we later reference a host that is about to be
    freed or already has been freed.
    
    Add checks for HOSTDELETED in these places, and skip over the deleted
    hosts.
    
    FIXES 126454
    
    Change-Id: I5a61831f5afdbc908b82e4cf63cf14a34a36e275
    Reviewed-on: http://gerrit.openafs.org/1305
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/viced/callback.c |   36 ++++++++++++++++++--------
 src/viced/host.c     |   67 ++++++++++++++++++++++++++++++++++++++++++-------
 2 files changed, 82 insertions(+), 21 deletions(-)

-- 
OpenAFS Master Repository