Commit d1cbe790 authored by Hans Petter Selasky's avatar Hans Petter Selasky
Browse files

Allocating the LinuxKPI current structure from an interrupt thread must be

done using the M_NOWAIT flag after 1ae20f7c .

MFC after:	1 week
Sponsored by:	Mellanox Technologies // NVIDIA Networking
parent ce53f92e
...@@ -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))
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