aboutsummaryrefslogtreecommitdiffstats
path: root/version.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-12-11 16:35:57 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2023-12-11 16:35:57 +0100
commit542e565baa776ed4c5c55b73ef9aa38d33d55197 (patch)
tree58c5ab624d1174ae333104d9e9e81b408ed4e119 /version.go
parentdevice: reduce redundant per-packet overhead in RX path (diff)
downloadwireguard-go-542e565baa776ed4c5c55b73ef9aa38d33d55197.tar.xz
wireguard-go-542e565baa776ed4c5c55b73ef9aa38d33d55197.zip
device: do atomic 64-bit add outside of vector loop
Only bother updating the rxBytes counter once we've processed a whole vector, since additions are atomic. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions