Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ipn/ipnlocal: hold the mutex when in onTailnetDefaultAutoUpdate (tail…
…scale#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 tailscale#11773 Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
- Loading branch information