tailscale/wgengine/magicsock
M. J. Fromberger eda975a9e4
wgengine/magicsock: emit first-netmap latency for uncached resets too (#20029)
This is a refinement of #19916. Previously, we would only emit a latency log
when going from a cached netmap to an uncached one (i.e., from the control
plane). We would like to know the latency in both conditions, though, so
instead use the validity of the previous self state.

Updates #12639
Updates tailscale/projects#27

Change-Id: I6bbeb5d3162f1f98cdb3dcd244f67ef31c170957
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
2026-06-05 14:13:16 -07:00
..
blockforever_conn.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
debughttp.go wgengine/magicsock: replace peers slice with peersByID map; add Upsert/RemovePeer 2026-04-22 15:07:11 -07:00
debugknobs_stubs.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
debugknobs.go wgengine/magicsock: make debugNeverDirectUDP influence remote peer decisions 2026-01-30 13:16:46 -08:00
derp_test.go wgengine/magicsock: fix data race in TestSetDERPMapDoReStun 2026-05-21 08:51:50 -07:00
derp.go wgengine/magicsock: restore SetDERPMap signature, add SetDERPMapWithoutReSTUN 2026-04-29 12:46:15 -07:00
disco_atomic_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
disco_atomic.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
discopingpurpose_string.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
endpoint_default.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
endpoint_stub.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
endpoint_test.go magicsock: invalidate endpoint on trust timeout (#19415) 2026-04-15 19:22:07 -07:00
endpoint_tracker_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
endpoint_tracker.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
endpoint.go wgengine/magicsock,types/logger: add latency logs for initial peer contacts (#19916) 2026-06-02 07:34:17 -07:00
magicsock_default.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
magicsock_linux_test.go cmd/vet: add subtestnames analyzer; fix all existing violations 2026-04-05 15:52:51 -07:00
magicsock_linux.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
magicsock_notplan9.go ipn/localapi: stop logging "broken pipe" errors (#18487) 2026-01-26 16:41:03 -08:00
magicsock_plan9.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
magicsock_test.go ipn/ipnlocal,wgengine/magicsock: re-report NetInfo to new control client (#20025) 2026-06-05 13:36:00 -04:00
magicsock.go wgengine/magicsock: emit first-netmap latency for uncached resets too (#20029) 2026-06-05 14:13:16 -07:00
peermap_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
peermap.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
peermtu_darwin.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
peermtu_linux.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
peermtu_stubs.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
peermtu_unix.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
peermtu.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
rebinding_conn.go control/controlknobs,net/{batching,tstun},wgengine: add nodecaps to disable UDP & TUN GRO/GSO 2026-05-27 17:10:14 -07:00
relaymanager_test.go cmd/vet: add subtestnames analyzer; fix all existing violations 2026-04-05 15:52:51 -07:00
relaymanager.go wgengine/magicsock: replace peers slice with peersByID map; add Upsert/RemovePeer 2026-04-22 15:07:11 -07:00