diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-12-11 16:35:57 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-12-11 16:35:57 +0100 |
commit | 542e565baa776ed4c5c55b73ef9aa38d33d55197 (patch) | |
tree | 58c5ab624d1174ae333104d9e9e81b408ed4e119 /src | |
parent | 7c20311b3d30b96576a95fec31f58e4d5e0d3234 (diff) |
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 'src')
0 files changed, 0 insertions, 0 deletions