Files
tailscale/wgengine
Nick Khyl f1f5ef1189 wgengine/magicsock: ignore netmap updates on a closed Conn
setNetworkMapInternal set relayClientEnabled from the new self node
even when updateNodes had ignored the update because the Conn was closed.
If no self node had been stored yet, a following SetFilter call passed
an invalid self node to updateRelayServersSet, which panicked.

Return before touching any state when the Conn is closed.

Fixes #22939

Signed-off-by: Nick Khyl <nickk@tailscale.com>
2026-12-05 13:57:31 -08:00
..