diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-06 16:44:31 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-06 16:44:31 +0200 |
commit | 961d655b161c62aa97b4220106f1c34dbeadb9ee (patch) | |
tree | 7ce5a05c2fe01ca49e32d73207ff627c593f9c82 /src/socket.h | |
parent | socket: compare while unlocked first (diff) | |
download | wireguard-monolithic-historical-961d655b161c62aa97b4220106f1c34dbeadb9ee.tar.xz wireguard-monolithic-historical-961d655b161c62aa97b4220106f1c34dbeadb9ee.zip |
socket: don't bother recomparing afterwards
It doesn't actually matter if this races, so there's no point in
making the hot path slower with the stack copy.
Suggested-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'src/socket.h')
0 files changed, 0 insertions, 0 deletions