mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-01 06:02:32 -08:00
Adds the Linux-only CLI flag that opts a subnet router into per-route load metrics, and plumbs the pref through router.Config so the engine can enable counting on the TUN wrapper during Reconfig. When the pref is off the engine passes no routes, which leaves the counting hook uninstalled, so nodes that have not opted in pay only a nil atomic load per packet. Updates tailscale/corp#45684 Change-Id: I2d23184b244b4b32bab071ebcc580923ca8d558d Signed-off-by: Kabir Sikand <[email protected]>