diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-18 16:01:44 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-18 16:05:40 +0200 |
commit | f6f8ea6c1b8e7d8cfeb671bfc6fbad1e2cfa6c38 (patch) | |
tree | 81e0185113eac896d9aaf69e7ecbc8b49584db52 /src/tools/ipc.c | |
parent | chacha20poly1305: add mips32 implementation (diff) | |
download | wireguard-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