diff options
| author | Andrew Lytvynov <awly@tailscale.com> | 2024-04-17 22:15:09 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-17 21:15:09 -0600 |
| commit | 22bd506129e9d158d3850996f6344b54c9833904 (patch) | |
| tree | 668f67451368e48af5b0390cee2724ee63c3834c /control/controlknobs | |
| parent | 88a7767492b8e302c0624932c361cd3275cc01d2 (diff) | |
| download | tailscale-22bd506129e9d158d3850996f6344b54c9833904.tar.xz tailscale-22bd506129e9d158d3850996f6344b54c9833904.zip | |
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>
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions
