From ae182701d057c7d640c8a588439a4cd94956241a Mon Sep 17 00:00:00 2001 From: kib Date: Tue, 31 Mar 2015 00:59:30 +0000 Subject: [PATCH] MFC r280780: The #ss fault handler erronously does not check for the fault originated from the return to usermode. #ss must be handled same as #np. --- sys/amd64/amd64/trap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index 9a8f61e5e172..c316db570171 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -457,8 +457,6 @@ trap(struct trapframe *frame) goto out; case T_STKFLT: /* stack fault */ - break; - case T_PROTFLT: /* general protection fault */ case T_SEGNPFLT: /* segment not present fault */ if (td->td_intr_nesting_level != 0)