You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/wgengine/monitor
Andrew Dunham 0d47cd2284 wgengine/monitor: fix panic due to race on Windows
It's possible for the 'somethingChanged' callback to be registered and
then trigger before the ctx field is assigned; move the assignment
earlier so this can't happen.

Change-Id: Ia7ee8b937299014a083ab40adf31a8b3e0db4ec5
Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
2 years ago
..
monitor.go util/set: add new set package for SetHandle type 2 years ago
monitor_darwin.go all: convert more code to use net/netip directly 2 years ago
monitor_darwin_test.go wgengine/monitor: add skipped failing test for Darwin route message bug 4 years ago
monitor_freebsd.go wgengine/monitor: ignore OS-specific uninteresting interfaces 3 years ago
monitor_linux.go all: remove old +build tags 2 years ago
monitor_linux_test.go all: convert more code to use net/netip directly 2 years ago
monitor_polling.go all: remove old +build tags 2 years ago
monitor_test.go wgengine{,/monitor}: restore Engine.LinkChange, add Mon.InjectEvent 4 years ago
monitor_windows.go wgengine/monitor: fix panic due to race on Windows 2 years ago
polling.go all: remove old +build tags 2 years ago