Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83087
b: refs/heads/master
c: 5dc3318
h: refs/heads/master
i:
  83085: a08195b
  83083: f24413b
  83079: acadafc
  83071: 6fc1dad
v: v3
  • Loading branch information
Robert Bragg authored and Linus Torvalds committed Feb 5, 2008
1 parent 75f7a0a commit ec633e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a7f75e25860ac0a7b70cf6e14c37618d2d2bb890
refs/heads/master: 5dc331852848a38ca00a2817e5b98a1d0561b116
4 changes: 4 additions & 0 deletions trunk/mm/vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,10 @@ static struct vm_struct *__get_vm_area_node(unsigned long size, unsigned long fl
if (addr > end - size)
goto out;
}
if ((size + addr) < addr)
goto out;
if (addr > end - size)
goto out;

found:
area->next = *p;
Expand Down

0 comments on commit ec633e3

Please sign in to comment.