svn commit: r280877 - stable/9/sys/amd64/amd64

Konstantin Belousov kib at FreeBSD.org
Tue Mar 31 01:08:53 UTC 2015


Author: kib
Date: Tue Mar 31 01:08:51 2015
New Revision: 280877
URL: https://svnweb.freebsd.org/changeset/base/280877

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/9/sys/amd64/amd64/trap.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/amd64/amd64/trap.c
==============================================================================
--- stable/9/sys/amd64/amd64/trap.c	Tue Mar 31 01:05:34 2015	(r280876)
+++ stable/9/sys/amd64/amd64/trap.c	Tue Mar 31 01:08:51 2015	(r280877)
@@ -479,8 +479,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