mirror of https://github.com/tailscale/tailscale/
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>pull/10173/head
parent
3496d62ed3
commit
11a20f371a
Loading…
Reference in New Issue