SIGN IN SIGN UP

ipn/ipnlocal/netmapcache: invalidate digest caches when removing objects (#20839)

Previously, a delta update that drops a peer would not invalidate the digest
cache for that peer after deleting its cache entry. If a subsequent (later)
delta re-adds that peer with the same content, the digest cache would prevent
us from updating the persistent entry.  Add a test to exercise this, and fix
the bug.

Updates #20795

Change-Id: I4a9ef03e8787a330d6395629251ee61ca2221fdd
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
M
M. J. Fromberger committed
93912bbe1de195d5574fcda7b10744facf61d8b8
Parent: 13a293a
Committed by GitHub <noreply@github.com> on 8/12/2026, 4:49:18 PM