ixgbe(4): Fix panic triggered by assertion from interrupt

r344162 exposed a bug in one of ixgbe's interrupt filters; they are never
supposed to return 0. Fix the interrupt filter to return the proper nonzero
return value.

Reported by:	Oleg Ginzburg <olevole@olevole.ru>
MFC after:	1 week
Sponsored by:	Intel Corporation
This commit is contained in:
Eric Joyner 2019-02-27 22:26:18 +00:00
parent 45d7e233a5
commit 6c3510414b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=344643

View file

@ -2064,7 +2064,7 @@ ixgbe_msix_que(void *arg)
/* Protect against spurious interrupts */
if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0)
return 0;
return (FILTER_HANDLED);
ixgbe_disable_queue(adapter, que->msix);
++que->irqs;