diff options
author | 2020-10-17 15:10:54 +0000 | |
---|---|---|
committer | 2020-10-17 15:10:54 +0000 | |
commit | 8224282cb46b0d0672055a2c653f015bfd9ea66d (patch) | |
tree | 90d1b605a772dd4f5110ddb350b1ef21d44e5135 /usr.bin/ssh/ssh_api.c | |
parent | Update to tzdata2020c from www.iana.org. (diff) | |
download | wireguard-openbsd-8224282cb46b0d0672055a2c653f015bfd9ea66d.tar.xz wireguard-openbsd-8224282cb46b0d0672055a2c653f015bfd9ea66d.zip |
Avoid a possible dead-lock in kthread_stop(): when stopping, wakeup()
the caller of kthread_stop().
The thread should also be unparked as else it will not seen the
KTHREAD_SHOULDSTOP flag. it follows what Linux is doing.
ok kettenis@
Diffstat (limited to 'usr.bin/ssh/ssh_api.c')
0 files changed, 0 insertions, 0 deletions