diff options
author | Josh Bleecher Snyder <josh@tailscale.com> | 2021-11-18 15:37:24 -0800 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-11-23 22:03:15 +0100 |
commit | 387f7c461a16b28af2f19d31f9da2cc544e487c4 (patch) | |
tree | 550db377e7e5243e61ab9f67564db03eefd23ef0 /ipc | |
parent | 4d87c9e8246072d4880e6f198f81ad4675872d86 (diff) |
device: reduce peer lock critical section in UAPI
The deferred RUnlock calls weren't executing until all peers
had been processed. Add an anonymous function so that each
peer may be unlocked as soon as it is completed.
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions