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/ipn
Maisem Ali d06a75dcd0 ipn/ipnlocal: fix deadlock in resetControlClientLocked
resetControlClientLocked is called while b.mu was held and
would call cc.Shutdown which would wait for the observer queue
to drain.
However, there may be active callbacks from cc already waiting for
b.mu resulting in a deadlock.

This makes it so that resetControlClientLocked does not call
Shutdown, and instead just returns the value.
It also makes it so that any status received from previous cc
are ignored.

Updates tailscale/corp#12827

Signed-off-by: Maisem Ali <maisem@tailscale.com>
1 year ago
..
ipnauth all: update copyright and license headers 2 years ago
ipnlocal ipn/ipnlocal: fix deadlock in resetControlClientLocked 1 year ago
ipnserver logpolicy, various: allow overriding log function 1 year ago
ipnstate ipn/ipnstate: add PeerStatus.AltSharerUserID, stop mangling Node.User 1 year ago
localapi cmd/tailscale: combine serve and funnel for debug wip funnel stream model (#9169) 1 year ago
policy ipn: prefer allow/denylist terminology 2 years ago
store cmd/k8s-operator,ipn/store/kubestore: patch secrets instead of updating 1 year ago
backend.go all: update copyright and license headers 2 years ago
doc.go all: update copyright and license headers 2 years ago
fake_test.go all: update copyright and license headers 2 years ago
ipn_clone.go cmd/tailscale,ipn: add auto-update flags and prefs (#8861) 1 year ago
ipn_view.go cmd/tailscale,ipn: add auto-update flags and prefs (#8861) 1 year ago
prefs.go cmd/tailscale,ipn: add auto-update flags and prefs (#8861) 1 year ago
prefs_test.go cmd/tailscale,ipn: add auto-update flags and prefs (#8861) 1 year ago
serve.go cmd/tailscale: combine serve and funnel for debug wip funnel stream model (#9169) 1 year ago
serve_test.go tailscale/cli: add interactive flow for enabling Funnel 1 year ago
store.go ipn: avoid useless no-op WriteState calls 1 year ago
store_test.go ipn: avoid useless no-op WriteState calls 1 year ago