Searched hist:194934 (Results 1 - 1 of 1) sorted by relevance

/freebsd-9.3-release/sys/rpc/
H A Dclnt_rc.cdiff 194934 Wed Jun 24 22:29:43 MDT 2009 rmacklem Fix two known problems in clnt_rc.c, plus issues w.r.t. smp noted
during reading of the code. Change the code so that it never accesses
rc_connecting, rc_closed or rc_client when the rc_lock mutex is not held.
Also, it now performs the CLNT_CLOSE(client) and CLNT_RELEASE(client)
calls after the rc_lock mutex has been released, since those calls do
msleep()s with another mutex held. Change clnt_reconnect_call() so that
releasing the reference count is delayed until after the
"if (rc->rc_client == client)" check, so that rc_client cannot have been
recycled.

Tested by: pho
Reviewed by: dfr
Approved by: kib (mentor)

Completed in 50 milliseconds