aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/ipc.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-18 16:01:44 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-18 16:05:40 +0200
commitf6f8ea6c1b8e7d8cfeb671bfc6fbad1e2cfa6c38 (patch)
tree81e0185113eac896d9aaf69e7ecbc8b49584db52 /src/tools/ipc.c
parentchacha20poly1305: add mips32 implementation (diff)
downloadwireguard-monolithic-historical-f6f8ea6c1b8e7d8cfeb671bfc6fbad1e2cfa6c38.tar.xz
wireguard-monolithic-historical-f6f8ea6c1b8e7d8cfeb671bfc6fbad1e2cfa6c38.zip
timers: round up instead of down in slack_time
On systems with a 100hz tick, this causes handshakes to be retried in slightly less than 5 seconds, which means they aren't sent at all. This has the effect of the handshakes entirely stopping their retry cycle until the next data packet is sent. Reported-by: Andrew He <andrewhe@mit.edu>
Diffstat (limited to 'src/tools/ipc.c')
0 files changed, 0 insertions, 0 deletions