mirror of
https://github.com/tailscale/tailscale.git
synced 2026-06-11 21:02:39 +08:00
Capture Auto.mapCtx while holding Auto.mu before using it for incremental map update forwarding. Pause and restart paths can replace the context under the same mutex, so using it after unlocking races with those writers. Add a race regression test for the UserProfiles path that repeatedly cancels the map context while incremental profile updates are forwarded. Fixes #19953 Change-Id: Icc55c4a0dffbc16d6507a2b446b3909d4d0a0278 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> |
||
|---|---|---|
| .. | ||
| auto_test.go | ||
| auto.go | ||
| client.go | ||
| controlclient_test.go | ||
| direct_test.go | ||
| direct.go | ||
| errors.go | ||
| map_debug.go | ||
| map_test.go | ||
| map.go | ||
| sign_supported_test.go | ||
| sign_supported.go | ||
| sign_unsupported.go | ||
| sign.go | ||
| status.go | ||