commit | 517e1fbeb65f5eade8d14f46ac365db6c75aea9b | [log] [tgz] |
---|---|---|
author | Laura Abbott <labbott@redhat.com> | Tue Apr 04 14:09:00 2017 -0700 |
committer | Kees Cook <keescook@chromium.org> | Wed Apr 05 12:30:18 2017 -0700 |
tree | e11991a0fd19229b26d945d72415938609238b99 | |
parent | 96dc4f9fb64690fc34410415fd1fc609cf803f61 [diff] |
mm/usercopy: Drop extra is_vmalloc_or_module() check Previously virt_addr_valid() was insufficient to validate if virt_to_page() could be called on an address on arm64. This has since been fixed up so there is no need for the extra check. Drop it. Signed-off-by: Laura Abbott <labbott@redhat.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Kees Cook <keescook@chromium.org>