switch calculuated thrsleep timeout to unsigned to prevent overflow
authortedu <tedu@openbsd.org>
Mon, 4 Jul 2016 16:12:52 +0000 (16:12 +0000)
committertedu <tedu@openbsd.org>
Mon, 4 Jul 2016 16:12:52 +0000 (16:12 +0000)
commit2195d075538ce466c030e9d6dcc122b37c492476
tree64c42c3b1580ab52e0b80e7d5e02709e18fcfec4
parentdf9e84cc2c120c2c5f239a647bed5feec014eb28
switch calculuated thrsleep timeout to unsigned to prevent overflow
into negative values, which later causes a panic.
reported by Tim Newsham at NCC.
ok guenther
sys/kern/kern_synch.c