diff options
author | 2019-06-28 09:14:36 +0000 | |
---|---|---|
committer | 2019-06-28 09:14:36 +0000 | |
commit | fde294fc124eaeacce70d5b5f5a8812f1f1c7787 (patch) | |
tree | f9452ad4e13adc20515d5a540a73780d36a7815a /lib/libc/stdlib/malloc.c | |
parent | switch timestamps to use timevals in filters like we do in reporting (diff) | |
download | wireguard-openbsd-fde294fc124eaeacce70d5b5f5a8812f1f1c7787.tar.xz wireguard-openbsd-fde294fc124eaeacce70d5b5f5a8812f1f1c7787.zip |
Reset rpending (read pending) indicator for a peer when the peer goes down
and the read buffer is cleared. Also make sure that the poll timeout is
only reduced to 0 if rpending is set and the read buffer has data to process.
This should fix a problem within the SE causing it to spin with a poll
timeout of 0.
OK phessler@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions