summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josh@tailscale.com>2022-01-14 13:43:24 -0800
committerJosh Bleecher Snyder <josharian@gmail.com>2022-01-19 14:39:28 -0800
commitde4696da1062fc0f40301ff8b0bbf200616b016b (patch)
treef7e0b04c1c48fa2afd4704ba813c4ff93181ea8d /control/controlknobs/controlknobs.go
parent390490e7b10023a1ccf03da7ac415bc41d9309be (diff)
downloadtailscale-de4696da1062fc0f40301ff8b0bbf200616b016b.tar.xz
tailscale-de4696da1062fc0f40301ff8b0bbf200616b016b.zip
wgengine/magicsock: fix deadlock on shutdown
This fixes a deadlock on shutdown. One goroutine is waiting to send on c.derpRecvCh before unlocking c.mu. The other goroutine is waiting to lock c.mu before receiving from c.derpRecvCh. #3736 has a more detailed explanation of the sequence of events. Fixes #3736 Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions