aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/socket.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-06 16:44:31 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-06 16:44:31 +0200
commit961d655b161c62aa97b4220106f1c34dbeadb9ee (patch)
tree7ce5a05c2fe01ca49e32d73207ff627c593f9c82 /src/socket.h
parentsocket: compare while unlocked first (diff)
downloadwireguard-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