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/ipn
Andrew Lytvynov 22bd506129
ipn/ipnlocal: hold the mutex when in onTailnetDefaultAutoUpdate (#11786)
Turns out, profileManager is not safe for concurrent use and I missed
all the locking infrastructure in LocalBackend, oops.

I was not able to reproduce the race even with `go test -count 100`, but
this seems like an obvious fix.

Fixes #11773

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
7 months ago
..
conffile
ipnauth
ipnlocal ipn/ipnlocal: hold the mutex when in onTailnetDefaultAutoUpdate (#11786) 7 months ago
ipnserver all: use Go 1.22 range-over-int 7 months ago
ipnstate ipn/ipnlocal: populate peers' capabilities (#11365) 8 months ago
localapi all: use Go 1.22 range-over-int 7 months ago
policy
store ipn/store: omit AWS & Kubernetes support on 'small' Linux GOARCHes 7 months ago
backend.go ipn: remove unused Options.LegacyMigrationPrefs 7 months ago
conf.go
doc.go
ipn_clone.go ipn/{localapi, ipnlocal}: forget the prior exit node when localAPI is used to zero the ExitNodeID (#11681) 7 months ago
ipn_test.go
ipn_view.go ipn/{localapi, ipnlocal}: forget the prior exit node when localAPI is used to zero the ExitNodeID (#11681) 7 months ago
prefs.go all: use Go 1.22 range-over-int 7 months ago
prefs_test.go all: use Go 1.22 range-over-int 7 months ago
serve.go all: deprecate Node.Capabilities (more), remove PeerChange.Capabilities [capver 89] 8 months ago
serve_test.go
store.go
store_test.go