• Nils Goroll's avatar
    Close potential race: Do not access a request after HSH_BUSY · 57155c04
    Nils Goroll authored
    Conceptually, when HSH_Lookup() returns with HSH_BUSY, ownership of
    the request has been ceded: Right after Lck_Unlock(&oh->mtx) in
    HSH_Lookup(), it could have got picked up from the waitinglist by
    another thread and, in the extreme, could already be done with when
    HSH_Lookup() returns.
    57155c04
cache_req_fsm.c 30.2 KB