tailscale/wgengine/magicsock
Brad Fitzpatrick cff737786e wgengine/magicsock: fix lazy config deadlock, document more lock ordering
This removes the atomic bool that tried to track whether we needed to acquire
the lock on a future recursive call back into magicsock. Unfortunately that
hack doesn't work because we also had a lock ordering issue between magicsock
and userspaceEngine (see issue). This documents that too.

Fixes #644
2020-08-06 08:43:48 -07:00
..
magicsock_test.go wgengine/magicsock: deflake tests, Close deadlock again 2020-08-04 09:36:38 -07:00
magicsock.go wgengine/magicsock: fix lazy config deadlock, document more lock ordering 2020-08-06 08:43:48 -07:00