mirror of
https://github.com/tailscale/tailscale.git
synced 2026-10-22 03:04:37 -04:00
derp: prevent concurrent access to multiForwarder map
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>
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f