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
This commit is contained in:
parent
07a326f176
commit
97b7fb767e
@ -1188,6 +1188,7 @@ nfs_timer(void *arg)
|
||||
}
|
||||
}
|
||||
splx(s);
|
||||
callout_reset(&nfs_callout, nfs_ticks, nfs_timer, NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user