mirror of
https://git.zx2c4.com/wireguard-go
synced 2026-07-20 23:12:18 +00:00
28c4d04304
Go's GC semantics might not always guarantee the safety of this, and the race detector gets upset too, so instead we wrap this all in atomic accessors. Reported-by: David Anderson <danderson@tailscale.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>