[openib-general] Re: [PATCH] SRP: Avoid a potential deadlock

Roland Dreier rdreier at cisco.com
Mon May 1 11:27:24 PDT 2006


    Ishai> Avoid a potential dead-lock.  In srp_disconnect_target
    Ishai> there is a call to ib_send_cm_dreq and a wait for
    Ishai> completion If when getting DREP there is no comp no one
    Ishai> will end this wait

I thought that after the DREP is received, the CM will go through
timewait and we will eventually get a TIMEWAIT_EXIT event (with a
completion).  Am I wrong?  Have you actually seen this deadlock happen
in practice?

 - R.



More information about the general mailing list