mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-02 18:11:59 +00:00
wgengine: fix deadlock between engine and magicsock
This commit is contained in:
@@ -125,7 +125,7 @@ type Conn struct {
|
||||
packetListener nettype.PacketListener
|
||||
|
||||
// ============================================================
|
||||
mu sync.Mutex // guards all following fields
|
||||
mu sync.Mutex // guards all following fields; see userspaceEngine lock ordering rules
|
||||
muCond *sync.Cond
|
||||
|
||||
// canCreateEPUnlocked tracks at one place whether mu is
|
||||
|
||||
Reference in New Issue
Block a user