You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/wgengine/magicsock
Brad Fitzpatrick 4c6f31c190 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

(cherry picked from commit cff737786e)
6 years ago
..
magicsock.go wgengine/magicsock: fix lazy config deadlock, document more lock ordering 6 years ago
magicsock_test.go wgengine/magicsock: deflake tests, Close deadlock again 6 years ago