Allocating the LinuxKPI current structure from an interrupt thread must be

done using the M_NOWAIT flag after 1ae20f7c70 .

MFC after:	1 week
Sponsored by:	Mellanox Technologies // NVIDIA Networking
This commit is contained in:
Hans Petter Selasky 2021-03-10 10:50:01 +01:00
parent ce53f92e6c
commit d1cbe79089

View File

@ -2384,7 +2384,8 @@ linux_irq_handler(void *ent)
{
struct irq_ent *irqe;
linux_set_current(curthread);
if (linux_set_current_flags(curthread, M_NOWAIT))
return;
irqe = ent;
irqe->handler(irqe->irq, irqe->arg);