mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 17:12:31 +01:00
Following up on r320900, where the check for negative count values was removed, add a check to prevent integer overflow. This is to account that b_count, b_waiters but most importantly the total number of threads in the system are signed values. Discussed with: kib MFC after: 2 weeks