diff options
| author | Claus Lensbøl <claus@tailscale.com> | 2026-04-07 08:52:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-07 08:52:55 -0400 |
| commit | d44649a9e48137f5954fad6e7b1410f94a8a44c4 (patch) | |
| tree | c6f539d42542800eae66a81a1a1ca8ef729a0e2c /control/controlhttp/controlhttpserver/controlhttpserver.go | |
| parent | 2b1cfa7c4d55a438062cef08ae5f85e0ffad5305 (diff) | |
| download | tailscale-d44649a9e48137f5954fad6e7b1410f94a8a44c4.tar.xz tailscale-d44649a9e48137f5954fad6e7b1410f94a8a44c4.zip | |
control/controlclient: add rwlock to peers in mapsession (#19261)
After moving around locks in 4334dfa7d5ccbee1daf5acf30b33557bbca66525,
a data race were made possible.
Introduce an RWlock to the mapSession itself for fetching peers.
Fixes #19260
Signed-off-by: Claus Lensbøl <claus@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions
