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/control
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>
10 months ago
..
controlbase various: add golangci-lint, fix issues (#7905) 1 year ago
controlclient ipn/ipnlocal: fix deadlock in resetControlClientLocked 10 months ago
controlhttp net/wsconn: accept a remote addr string and plumb it through 10 months ago
controlknobs all: update copyright and license headers 1 year ago