Updated from Linux LTS 3.10.18 to 3.10.19
This commit is contained in:
@@ -388,12 +388,12 @@ nocache:
|
||||
addr = ALIGN(first->va_end, align);
|
||||
if (addr < vstart)
|
||||
goto nocache;
|
||||
if (addr + size - 1 < addr)
|
||||
if (addr + size < addr)
|
||||
goto overflow;
|
||||
|
||||
} else {
|
||||
addr = ALIGN(vstart, align);
|
||||
if (addr + size - 1 < addr)
|
||||
if (addr + size < addr)
|
||||
goto overflow;
|
||||
|
||||
n = vmap_area_root.rb_node;
|
||||
@@ -420,7 +420,7 @@ nocache:
|
||||
if (addr + cached_hole_size < first->va_start)
|
||||
cached_hole_size = first->va_start - addr;
|
||||
addr = ALIGN(first->va_end, align);
|
||||
if (addr + size - 1 < addr)
|
||||
if (addr + size < addr)
|
||||
goto overflow;
|
||||
|
||||
if (list_is_last(&first->list, &vmap_area_list))
|
||||
|
||||
Reference in New Issue
Block a user