clear io_want/io_ready flags at start of poll() cycle;
authordjm <djm@openbsd.org>
Mon, 11 Apr 2022 22:52:08 +0000 (22:52 +0000)
committerdjm <djm@openbsd.org>
Mon, 11 Apr 2022 22:52:08 +0000 (22:52 +0000)
commit69ccf6faffab7d7ea10be89dd00b3593e404eb1a
tree2f7886f02b335ce928bc30db1c87eb15db67d088
parent3fa10e9b4c7223169b4d75fdeaed575ad044bb52
clear io_want/io_ready flags at start of poll() cycle;
avoids plausible spin during rekeying if channel io_want flags are
reused across cycles. ok markus@ deraadt@
usr.bin/ssh/channels.c