Searched hist:194934 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.2-release/sys/rpc/ | ||
H A D | clnt_rc.c | diff 194934 Thu Jun 25 00: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 107 milliseconds