Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2015 00:59:31 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r280875 - stable/10/sys/amd64/amd64
Message-ID:  <201503310059.t2V0xVqu033862@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503310059.t2V0xVqu033862>