Make h_Lookup_r return the host held, and ensure that it's not
authorNickolai Zeldovich <kolya@mit.edu>
Mon, 15 Apr 2002 22:36:00 +0000 (22:36 +0000)
committerNickolai Zeldovich <kolya@mit.edu>
Mon, 15 Apr 2002 22:36:00 +0000 (22:36 +0000)
commitd4493526a764f5d4d1ef6a437ab8cfa467077be6
treeb1a1f381d95ff7a404a815c4bf230d65dbe738f0
parent301d83202c8d969197ea9515e02eb93c1b2bd72f
Make h_Lookup_r return the host held, and ensure that it's not
deleted at that point; otherwise, the host may be deleted by
another thread between a call to h_Lookup_r and the time when
we actually get around to h_Hold'ing it.
src/viced/host.c