diff options
author | 2019-12-12 19:30:21 +0000 | |
---|---|---|
committer | 2019-12-12 19:30:21 +0000 | |
commit | a40acd8a7f53181128a20395712847994e790f86 (patch) | |
tree | f9f7ee6aea10ccc602f21fa8ef817699bb2b7d49 /sys/kern/kern_tc.c | |
parent | correct output option list, from Alarig Le Lay (diff) | |
download | wireguard-openbsd-a40acd8a7f53181128a20395712847994e790f86.tar.xz wireguard-openbsd-a40acd8a7f53181128a20395712847994e790f86.zip |
tc_setclock: reintroduce timeout_adjust_ticks() call
Missing piece of tickless timeout revert.
Diffstat (limited to 'sys/kern/kern_tc.c')
-rw-r--r-- | sys/kern/kern_tc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index 96ee6dd2c55..bcf8f689625 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_tc.c,v 1.54 2019/12/12 17:52:25 cheloha Exp $ */ +/* $OpenBSD: kern_tc.c,v 1.55 2019/12/12 19:30:21 cheloha Exp $ */ /* * Copyright (c) 2000 Poul-Henning Kamp <phk@FreeBSD.org> @@ -460,7 +460,7 @@ tc_setclock(const struct timespec *ts) if (adj_ticks > 0) { if (adj_ticks > INT_MAX) adj_ticks = INT_MAX; - ticks += adj_ticks; + timeout_adjust_ticks(adj_ticks); } #endif } |