mirror of
https://github.com/tailscale/tailscale.git
synced 2026-04-12 02:18:00 -04:00
After moving around locks in 4334dfa7d5,
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>