svn commit: r280875 - stable/10/sys/amd64/amd64

Konstantin Belousov kib at FreeBSD.org
Tue Mar 31 00:59:31 UTC 2015


Author: kib
Date: Tue Mar 31 00:59:30 2015
New Revision: 280875
URL: https://svnweb.freebsd.org/changeset/base/280875

Log:
  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.

Modified:
  stable/10/sys/amd64/amd64/trap.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/amd64/amd64/trap.c
==============================================================================
--- stable/10/sys/amd64/amd64/trap.c	Tue Mar 31 00:57:25 2015	(r280874)
+++ stable/10/sys/amd64/amd64/trap.c	Tue Mar 31 00:59:30 2015	(r280875)
@@ -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)


More information about the svn-src-all mailing list