Commit 093204e2 authored by Hans Petter Selasky's avatar Hans Petter Selasky
Browse files

MFC d1cbe790:

Allocating the LinuxKPI current structure from an interrupt thread must be
done using the M_NOWAIT flag after 1ae20f7c .

Sponsored by:	Mellanox Technologies // NVIDIA Networking

(cherry picked from commit d1cbe790)
parent dd426d67
...@@ -2384,7 +2384,8 @@ linux_irq_handler(void *ent) ...@@ -2384,7 +2384,8 @@ linux_irq_handler(void *ent)
{ {
struct irq_ent *irqe; struct irq_ent *irqe;
linux_set_current(curthread); if (linux_set_current_flags(curthread, M_NOWAIT))
return;
irqe = ent; irqe = ent;
irqe->handler(irqe->irq, irqe->arg); irqe->handler(irqe->irq, irqe->arg);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment