summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_socket.c
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2004-03-28 05:55:27 +0000
committerkan <kan@FreeBSD.org>2004-03-28 05:55:27 +0000
commit97b7fb767eb4f02ce1a1bbd1a932590a49e867a1 (patch)
treef47c5fea01eec4624d6cfbcf3e084bf42f395c85 /sys/nfsclient/nfs_socket.c
parent07a326f176e1bf1225a851e37c2bb71bb9b34da6 (diff)
downloadFreeBSD-src-97b7fb767eb4f02ce1a1bbd1a932590a49e867a1.zip
FreeBSD-src-97b7fb767eb4f02ce1a1bbd1a932590a49e867a1.tar.gz
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
Diffstat (limited to 'sys/nfsclient/nfs_socket.c')
-rw-r--r--sys/nfsclient/nfs_socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_socket.c b/sys/nfsclient/nfs_socket.c
index 697478c..0440c7b 100644
--- a/sys/nfsclient/nfs_socket.c
+++ b/sys/nfsclient/nfs_socket.c
@@ -1188,6 +1188,7 @@ nfs_timer(void *arg)
}
}
splx(s);
+ callout_reset(&nfs_callout, nfs_ticks, nfs_timer, NULL);
}
/*
OpenPOWER on IntegriCloud