Files
Fernando Serboncini 46669e364f wgengine, ipn/ipnlocal: apply netmap peer deltas to the engine's netmap
e.netMap is only written by SetNetworkMap, which doesn't run when
a MapResponse is handled incrementally. Therefore, when a peer re
auths as a delta and magicsock learns the new key, e.netMap still
has the old one, so PeerForIP feeds magicsock a key that will not
work and "tailscale ping" fails until the next full netmap.

Add UpdateNetmapDelta to the Engine interface, dispatched from lb
UpdateNetmapDelta. Only upserts and removals are applied.

Fixes tailscale/corp#43394

Change-Id: Id87637d8003c7dbb61ada5297e05d58e8e2f53b3
Signed-off-by: Fernando Serboncini <fserb@tailscale.com>
2026-06-12 19:20:09 -04:00
..