From 7426a36371cb3917ee811011eed9988a05838322 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 1 Apr 2025 04:01:00 -0700 Subject: [PATCH] net/netmon: disable time jump monitoring on Plan 9 Updates #5794 Change-Id: I0f96383dea2ad017988d300df723ce906debb007 Signed-off-by: Brad Fitzpatrick --- net/netmon/netmon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netmon/netmon.go b/net/netmon/netmon.go index f2dd37f1d..bd3d13d66 100644 --- a/net/netmon/netmon.go +++ b/net/netmon/netmon.go @@ -596,7 +596,7 @@ func (m *Monitor) pollWallTime() { // // We don't do this on mobile platforms for battery reasons, and because these // platforms don't really sleep in the same way. -const shouldMonitorTimeJump = runtime.GOOS != "android" && runtime.GOOS != "ios" +const shouldMonitorTimeJump = runtime.GOOS != "android" && runtime.GOOS != "ios" && runtime.GOOS != "plan9" // checkWallTimeAdvanceLocked reports whether wall time jumped more than 150% of // pollWallTimeInterval, indicating we probably just came out of sleep. Once a