You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/derp
Anton Tolchanov 6cc6c70d70 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>
2 years ago
..
derphttp all: use strs.CutPrefix and strs.CutSuffix more 2 years ago
testdata
derp.go refactor: move from io/ioutil to io and os packages 2 years ago
derp_client.go all: use syncs.AtomicValue 2 years ago
derp_server.go derp: prevent concurrent access to multiForwarder map 2 years ago
derp_server_default.go all: remove old +build tags 2 years ago
derp_server_linux.go derp: add TCP RTT metric on Linux (#5949) 2 years ago
derp_test.go derp: prevent concurrent access to multiForwarder map 2 years ago
dropreason_string.go