mirror of https://github.com/tailscale/tailscale/
control/controlclient: eliminate race in loginGoal access.
This code is currently racy due to an incorrect assumption that goal is never modified in-place, so does not require extra locking. This change makes the assumption correct. Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com>reviewable/pr560/r1
parent
19d77ce6a3
commit
d361511512
Loading…
Reference in New Issue