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)
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to