Searched hist:225570 (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/share/man/man9/
H A Dtaskqueue.9diff 225570 Thu Sep 15 06:43:29 MDT 2011 adrian Ensure that ta_pending doesn't overflow u_short by capping its value at USHRT_MAX.

If it overflows before the taskqueue can run, the task will be
re-added to the taskqueue and cause a loop in the task list.

Reported by: Arnaud Lacombe <lacombar@gmail.com>
Submitted by: Ryan Stone <rysto32@gmail.com>
Reviewed by: jhb
Approved by: re (kib)
MFC after: 1 day
/freebsd-9.3-release/sys/kern/
H A Dsubr_taskqueue.cdiff 225570 Thu Sep 15 06:43:29 MDT 2011 adrian Ensure that ta_pending doesn't overflow u_short by capping its value at USHRT_MAX.

If it overflows before the taskqueue can run, the task will be
re-added to the taskqueue and cause a loop in the task list.

Reported by: Arnaud Lacombe <lacombar@gmail.com>
Submitted by: Ryan Stone <rysto32@gmail.com>
Reviewed by: jhb
Approved by: re (kib)
MFC after: 1 day

Completed in 233 milliseconds