Page MenuHomeFreeBSD

D36977.id111818.diff
No OneTemporary

D36977.id111818.diff

diff --git a/sys/rpc/clnt_vc.c b/sys/rpc/clnt_vc.c
--- a/sys/rpc/clnt_vc.c
+++ b/sys/rpc/clnt_vc.c
@@ -116,8 +116,6 @@
static void clnt_vc_upcallsdone(struct ct_data *);
-static int fake_wchan;
-
/*
* Create a client handle for a connection.
* Default options are set, which the user can change using clnt_control()'s.
@@ -453,7 +451,9 @@
mtx_lock(&ct->ct_lock);
TAILQ_REMOVE(&ct->ct_pending, cr, cr_link);
/* Sleep for 1 clock tick before trying the sosend() again. */
- msleep(&fake_wchan, &ct->ct_lock, 0, "rpclpsnd", 1);
+ mtx_unlock(&ct->ct_lock);
+ pause("rpclpsnd", 1);
+ mtx_lock(&ct->ct_lock);
goto call_again;
}

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 29, 12:20 AM (9 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32289069
Default Alt Text
D36977.id111818.diff (653 B)

Event Timeline