mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-24 07:40:52 +00:00
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
2aef37b7c6
commit
186c0bc04b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127515
@ -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