diff --git a/wgengine/magicsock/magicsock.go b/wgengine/magicsock/magicsock.go index 12ba7b880..568334183 100644 --- a/wgengine/magicsock/magicsock.go +++ b/wgengine/magicsock/magicsock.go @@ -306,10 +306,10 @@ type Options struct { // sole user just doesn't need or want it called on every // packet, just every minute or two for Wireguard timeouts, // and 10 seconds seems like a good trade-off between often - // enough and not too often.) The provided func is called while - // holding userspaceEngine.wgLock and likely calls - // Conn.CreateEndpoint, which acquires Conn.mu. As such, you should - // not hold + // enough and not too often.) The provided func is called + // while holding userspaceEngine.wgLock and likely calls + // Conn.CreateEndpoint, which acquires Conn.mu. As such, you + // should not hold Conn.mu while calling it. NoteRecvActivity func(tailcfg.DiscoKey) }