mirror of https://github.com/tailscale/tailscale/
control/controlclient: avert a data race when logging (#8863)
The read of the synced field for logging takes place outside the lock, and races with other (locked) writes of this field, including for example the one at current line 556 in mapRoutine. Updates tailscale/corp#13856 Change-Id: I056b36d7a93025aafdf73528dd7645f10b791af6 Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>pull/8865/head
parent
c40d095c35
commit
9e24a6508a
Loading…
Reference in New Issue