Page MenuHomeFreeBSD

D54384.diff
No OneTemporary

D54384.diff

diff --git a/sys/kern/kern_ntptime.c b/sys/kern/kern_ntptime.c
--- a/sys/kern/kern_ntptime.c
+++ b/sys/kern/kern_ntptime.c
@@ -388,7 +388,11 @@
time_constant = ntv->constant;
}
if (modes & MOD_TAI) {
- if (ntv->constant > 0) /* XXX zero & negative numbers ? */
+ if (ntv->constant > 0)
+ /*
+ * Ignore zero or negative values. The time constant must be positive
+ * to maintain stable clock discipline.
+ */
time_tai = ntv->constant;
}
#ifdef PPS_SYNC

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 16, 12:01 PM (13 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31573513
Default Alt Text
D54384.diff (479 B)

Event Timeline