mirror of https://github.com/tailscale/tailscale/
wgengine/magicsock: move firstDerp check after nil derpMap check
This fixes a race condition which caused `c.muCond.Broadcast()` to never fire in the `firstDerp` if block. It resulted in `Close()` hanging forever. Signed-off-by: Kyle Carberry <kyle@carberry.com>pull/5732/head
parent
2c447de6cc
commit
91794f6498
Loading…
Reference in New Issue