git: DragonFly_RELEASE_3_2 kernel - Fix sysclock_t comparison in usched code
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Oct 13 10:13:49 PDT 2012
commit 0d69564327be7be4b29317512725892bcf0204e5
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sat Oct 13 10:11:43 2012 -0700
kernel - Fix sysclock_t comparison in usched code
* Fix a sysclock_t comparison that was attempting to detect an overflow
by checking if an unsigned field was negative. The field has
to be cast to signed for the test to work as expected.
Reported-by: enjolras
Summary of changes:
sys/kern/usched_bsd4.c | 2 +-
sys/kern/usched_dfly.c | 2 +-
sys/sys/systimer.h | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0d69564327be7be4b29317512725892bcf0204e5
--
DragonFly BSD source repository
More information about the Commits
mailing list