summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs.go
diff options
context:
space:
mode:
authorTom DNetto <tom@tailscale.com>2023-11-07 12:19:43 -0800
committerTom <twitchyliquid64@users.noreply.github.com>2023-11-08 10:44:25 -0800
commit11a20f371a7b88c1511eebb4cf5a2b86c61f1622 (patch)
treea4f071915d3780fc55df1e3ee3b5a5a78cceed60 /control/controlknobs/controlknobs.go
parent3496d62ed3de14dd1360f0ef09dd0ee2b48f8033 (diff)
downloadtailscale-11a20f371a7b88c1511eebb4cf5a2b86c61f1622.tar.xz
tailscale-11a20f371a7b88c1511eebb4cf5a2b86c61f1622.zip
ipn/ipnlocal: fix nil control client panic while updating TKA head
As part of tailnet-lock netmap processing, the LocalBackend mutex is unlocked so we can potentially make a network call. Its possible (during shutdown or while the control client is being reset) for b.cc to become nil before the lock is picked up again. Fixes: #9554 Signed-off-by: Tom DNetto <tom@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions