Files
tailscale/ipn
Brendan Creane 12859b87a2 ipn/ipnlocal: announce a changed exit node suggestion on every path
Two paths reach suggestExitNodeLocked and then return without a
broadcast: editPrefsLocked, when the edit is a no-op or the policy check
rejects it, and reconcilePrefs, when the prefs are unchanged. Before the
pending flag they announced a changed suggestion at once. Both now flush
it before returning.

TestSuggestedExitNodePendingFlushed marks a suggestion as pending and
calls each entry point that can recompute it, checking that a Notify
carries the suggestion and the flag is clear afterwards. Without the two
flushes, the EditPrefs and reconcilePrefs cases fail.

Updates #22206

Signed-off-by: Brendan Creane <[email protected]>
2026-11-19 23:18:24 +00:00
..
2026-11-14 09:50:33 -08:00