diff options
author | Josh Bleecher Snyder <josh@tailscale.com> | 2021-02-09 09:08:17 -0800 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-02-09 18:33:48 +0100 |
commit | 78ebce69324e241d462d624cae389396db9dbd94 (patch) | |
tree | a31bea51761748d4ce4af4741254d08e8d37b5cb /go.sum | |
parent | cae090d116d4aa61494f5951a9d6ab6902017dce (diff) |
device: only allocate peer queues once
This serves two purposes.
First, it makes repeatedly stopping then starting a peer cheaper.
Second, it prevents a data race observed accessing the queues.
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
Diffstat (limited to 'go.sum')
0 files changed, 0 insertions, 0 deletions