Files
tailscale/wgengine
Brendan Creane fcef8e2384 ipn/ipnlocal: update netstack's active Services on every prefs change (#22517)
A config file reload sets prefs through setPrefsLocked, but netstack's set
of active Tailscale Services was only updated from onEditPrefsLocked and
setNetMapLocked. After the operator changed AdvertiseServices in a
ProxyGroup config Secret, netstack kept the old set until the next netmap.
The node still served a withdrawn Service locally instead of sending that
traffic to another host, and did not serve a newly added one.

Move the update into setPrefsLocked so every path that changes prefs
applies it, and add a netstack test that exercises ReloadConfig.

Fixes #22498

Signed-off-by: Brendan Creane <[email protected]>
2026-11-24 09:04:53 -08:00
..