summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs
diff options
context:
space:
mode:
authorMaisem Ali <maisem@tailscale.com>2023-09-04 11:22:56 -0700
committerMaisem Ali <maisem@gmail.com>2023-09-04 14:06:57 -0700
commit52a19b5970f36ccb10a63592d81097b2b07d9138 (patch)
tree62e8eb81524d26fd393508841a74c146ad6d4f63 /control/controlknobs
parent6bc15f3a735d9e44bbcdade01d9d6e57a8771fd9 (diff)
downloadtailscale-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')
0 files changed, 0 insertions, 0 deletions