aboutsummaryrefslogtreecommitdiffstats
path: root/device/noise-types.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josh@tailscale.com>2021-11-18 15:37:24 -0800
committerJason A. Donenfeld <Jason@zx2c4.com>2021-11-23 22:03:15 +0100
commit387f7c461a16b28af2f19d31f9da2cc544e487c4 (patch)
tree550db377e7e5243e61ab9f67564db03eefd23ef0 /device/noise-types.go
parentdevice: remove code using unsafe (diff)
downloadwireguard-go-387f7c461a16b28af2f19d31f9da2cc544e487c4.tar.xz
wireguard-go-387f7c461a16b28af2f19d31f9da2cc544e487c4.zip
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 '')
0 files changed, 0 insertions, 0 deletions