Skip to content
Commit bcfc8f0d authored by Petar Jovanovic's avatar Petar Jovanovic Committed by Ralf Baechle
Browse files

MIPS: traps: return correct si code for accessing nonmapped addresses



find_vma() returns the first VMA which satisfies fault_addr < vm_end, but
it does not guarantee fault_addr is actually within VMA. Therefore, kernel
has to check that before it chooses correct si code on return.

Signed-off-by: default avatarPetar Jovanovic <petar.jovanovic@rt-rk.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13808/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 008d0cf1
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