svn commit: r265363 - head/sys/kern
John Baldwin
jhb at freebsd.org
Mon May 5 16:26:25 UTC 2014
On Monday, May 05, 2014 11:59:31 am Don Lewis wrote:
> Author: truckman
> Date: Mon May 5 15:59:31 2014
> New Revision: 265363
> URL: http://svnweb.freebsd.org/changeset/base/265363
>
> Log:
> Avoid unsigned integer overflow which can cause
> rman_reserve_resource_bound() to return incorrect results.
>
> Continue the initial search until the first viable region is found.
>
> Add a comment to explain the search termination test.
>
> PR: kern/188534
> Reviewed by: jhb (previous version)
> MFC after: 1 week
>
> Modified:
> head/sys/kern/subr_rman.c
Thanks for tracking this down!
--
John Baldwin
More information about the svn-src-head
mailing list