summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2019-06-28 09:14:36 +0000
committerclaudio <claudio@openbsd.org>2019-06-28 09:14:36 +0000
commitfde294fc124eaeacce70d5b5f5a8812f1f1c7787 (patch)
treef9452ad4e13adc20515d5a540a73780d36a7815a /lib/libc/stdlib/malloc.c
parentswitch timestamps to use timevals in filters like we do in reporting (diff)
downloadwireguard-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