From 97b7fb767eb4f02ce1a1bbd1a932590a49e867a1 Mon Sep 17 00:00:00 2001 From: kan Date: Sun, 28 Mar 2004 05:55:27 +0000 Subject: Reset callout if in nfs_timeout and rpcclnt_timeout functions. Timer are supposed to continue firing as long as there is work to do, not stop after the first invocation. This is damage control after a patch that has been committed prematurely. Tested by: kris --- sys/rpc/rpcclnt.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/rpc/rpcclnt.c') diff --git a/sys/rpc/rpcclnt.c b/sys/rpc/rpcclnt.c index 49ffea0..5b570c2 100644 --- a/sys/rpc/rpcclnt.c +++ b/sys/rpc/rpcclnt.c @@ -1478,6 +1478,8 @@ rpcclnt_timer(arg) #ifdef __OpenBSD__ timeout_add(rpcclnt_timer, to, rpcclnt_ticks); +#else + callout_reset(&rpcclnt_callout, rpcclnt_ticks, rpcclnt_timer, NULL); #endif } -- cgit v1.1