]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r232509 by brucec
authorbrueffer <brueffer@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 16 Jul 2015 09:08:36 +0000 (09:08 +0000)
committerbrueffer <brueffer@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 16 Jul 2015 09:08:36 +0000 (09:08 +0000)
commit0e6f59320318c374689404893766bd4bcf05829c
tree36204f422ba5469de0490ea213ffea44f71ba2d8
parentd868b1a66795b1a90973977088d96c254a1c85b1
MFC: r232509 by brucec

Fix race condition in KfRaiseIrql().

After getting the current irql, if the kthread gets preempted and
subsequently runs on a different CPU, the saved irql could be wrong.

Also, correct the panic string.

PR: kern/165630
Submitted by: Vladislav Movchan <vladislav.movchan at gmail.com>

git-svn-id: svn://svn.freebsd.org/base/stable/9@285624 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/compat/ndis/subr_hal.c