diff options
| author | Maisem Ali <maisem@tailscale.com> | 2023-09-04 11:22:56 -0700 |
|---|---|---|
| committer | Maisem Ali <maisem@gmail.com> | 2023-09-04 14:06:57 -0700 |
| commit | 52a19b5970f36ccb10a63592d81097b2b07d9138 (patch) | |
| tree | 62e8eb81524d26fd393508841a74c146ad6d4f63 /control/controlknobs/controlknobs.go | |
| parent | 6bc15f3a735d9e44bbcdade01d9d6e57a8771fd9 (diff) | |
| download | tailscale-52a19b5970f36ccb10a63592d81097b2b07d9138.tar.xz tailscale-52a19b5970f36ccb10a63592d81097b2b07d9138.zip | |
ipn/ipnlocal: prevent cc leaks on multiple Start calls
If Start was called multiple times concurrently, it would
create a new client and shutdown the previous one. However
there was a race possible between shutting down the old one
and assigning a new one where the concurent goroutine may
have assigned another one already and it would leak.
Updates tailscale/corp#14471
Signed-off-by: Maisem Ali <maisem@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions
