Skip to content
Commit 517e1fbe authored by Laura Abbott's avatar Laura Abbott Committed by Kees Cook
Browse files

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: default avatarLaura Abbott <labbott@redhat.com>
Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 96dc4f9f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment