svn commit: r310465 - head/sys/dev/hyperv/utilities

Sepherosa Ziehau sephe at FreeBSD.org
Fri Dec 23 08:52:11 UTC 2016


Author: sephe
Date: Fri Dec 23 08:52:10 2016
New Revision: 310465
URL: https://svnweb.freebsd.org/changeset/base/310465

Log:
  hyperv/ic: Allow applying the samples from hypervisor unconditionally.
  
  MFC after:	1 week
  Sponsored by:	Microsoft

Modified:
  head/sys/dev/hyperv/utilities/vmbus_timesync.c

Modified: head/sys/dev/hyperv/utilities/vmbus_timesync.c
==============================================================================
--- head/sys/dev/hyperv/utilities/vmbus_timesync.c	Fri Dec 23 08:49:30 2016	(r310464)
+++ head/sys/dev/hyperv/utilities/vmbus_timesync.c	Fri Dec 23 08:52:10 2016	(r310465)
@@ -139,7 +139,7 @@ vmbus_timesync(struct vmbus_ic_softc *sc
 	}
 
 	if ((tsflags & VMBUS_ICMSG_TS_FLAG_SAMPLE) &&
-	    vmbus_ts_sample_thresh > 0) {
+	    vmbus_ts_sample_thresh >= 0) {
 		int64_t diff;
 
 		if (vmbus_ts_sample_verbose) {


More information about the svn-src-head mailing list