Claus Lensbøl d44649a9e4
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>
2026-04-07 08:52:55 -04:00
..