diff options
| author | Tom DNetto <tom@tailscale.com> | 2023-11-07 12:19:43 -0800 |
|---|---|---|
| committer | Tom <twitchyliquid64@users.noreply.github.com> | 2023-11-08 10:44:25 -0800 |
| commit | 11a20f371a7b88c1511eebb4cf5a2b86c61f1622 (patch) | |
| tree | a4f071915d3780fc55df1e3ee3b5a5a78cceed60 /control/controlknobs/controlknobs.go | |
| parent | 3496d62ed3de14dd1360f0ef09dd0ee2b48f8033 (diff) | |
| download | tailscale-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
