mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
When the igb driver is static there are cases when early interrupts occur,
resulting in a panic in refresh_mbufs, to prevent this add a check in the interrupt handler for DRV_RUNNING. MFC after: 1 day (critical for 9.2)
This commit is contained in:
parent
ffa0165ae0
commit
54a6317360
1 changed files with 4 additions and 0 deletions
|
|
@ -1572,6 +1572,10 @@ igb_msix_que(void *arg)
|
|||
u32 newitr = 0;
|
||||
bool more_rx;
|
||||
|
||||
/* Ignore spurious interrupts */
|
||||
if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0)
|
||||
return;
|
||||
|
||||
E1000_WRITE_REG(&adapter->hw, E1000_EIMC, que->eims);
|
||||
++que->irqs;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue