summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver
diff options
context:
space:
mode:
authorJoe Tsai <joetsai@digital-static.net>2025-05-30 08:06:16 -1000
committerGitHub <noreply@github.com>2025-05-30 11:06:16 -0700
commit84aa7ff3bbcabd1bbc272c99de0c898b799cb144 (patch)
tree54770c930eee759fe7d12751487f9617b114f0c7 /control/controlhttp/controlhttpserver
parent11e83f9da5eb4e11d50464ac6ab01bb663218b22 (diff)
downloadtailscale-84aa7ff3bbcabd1bbc272c99de0c898b799cb144.tar.xz
tailscale-84aa7ff3bbcabd1bbc272c99de0c898b799cb144.zip
syncs: fix AtomicValue.CompareAndSwap (#16137)
Fix CompareAndSwap in the edge-case where the underlying sync.AtomicValue is uninitialized (i.e., Store was never called) and the oldV is the zero value, then perform CompareAndSwap with any(nil). Also, document that T must be comparable. This is a pre-existing restriction. Fixes #16135 Signed-off-by: Joe Tsai <joetsai@digital-static.net>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions