Files
tailscale/net
Kabir Sikand 7f1744c6c7 net/tstun: test directions, route withdrawal, and zero-alloc counting
Covers the four counters and their direction semantics, series removal on
route withdrawal (including that churn does not leak series and that a
re-advertised route resumes its total), and pins the packet path to zero
allocations so the prefix-formatting regression cannot silently return.

BenchmarkSubnetCountersAdd: 32.4 ns/op, 0 B/op, 0 allocs/op.

Updates tailscale/corp#45684

Change-Id: I2c63e63d973355c2489c35cf96877506cd0ebdca
Signed-off-by: Kabir Sikand <[email protected]>
2026-07-29 01:44:39 +00:00
..
2026-07-10 17:39:16 -07:00