mirror of
https://github.com/opnsense/src.git
synced 2026-05-25 18:54:02 -04:00
Disable interrupts, if they were enabled, before doing swapgs.
Otherwise, interrupt may happen while we run with kernel CS and usermode gsbase. Reviewed by: jeff MFC after: 1 week
This commit is contained in:
parent
07cd9ab013
commit
a353a3455e
1 changed files with 1 additions and 0 deletions
|
|
@ -494,6 +494,7 @@ outofnmi:
|
|||
movq %rsp,%rdx /* frame */
|
||||
sti
|
||||
call *%rax
|
||||
cli
|
||||
nocallchain:
|
||||
#endif
|
||||
testl %ebx,%ebx
|
||||
|
|
|
|||
Loading…
Reference in a new issue