git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90140c3
)
ARM: Ensure do_cache_op takes mmap_sem
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Mon, 28 Sep 2009 10:41:51 +0000
(11:41 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Mon, 28 Sep 2009 17:06:21 +0000
(18:06 +0100)
do_cache_op() uses find_vma() to validate its arguments without holding
any locking. This means that the VMA could vanish beneath us. Fix
this by taking a read lock on mmap_sem.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
No differences found