mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-18 19:41:03 +00:00

Instead of iterating over the map to determine the preferred forwarder on every packet (which could happen concurrently with map mutations), store it separately in an atomic variable. Fixes #6445 Signed-off-by: Anton Tolchanov <anton@tailscale.com>