mirror of
https://github.com/juanfont/headscale.git
synced 2026-07-16 13:00:44 +09:00
40ed210521
NodeCanHaveTag, TagExists, ViaRoutesForPeer checked pm.pol before taking pm.mu, racing SetPolicy's write (caught by -race in TestRaceConcurrentServerMutations). DebugString read pol, filter, and the derived maps with no lock at all.