Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

When the igb driver is static there are cases when early interrupts o…


resulting in a panic in refresh_mbufs, to prevent this add a check to the
interrupt handler for DRV_RUNNING.

Approved by: re
  • Loading branch information...
commit 14d93d68e7e38b885045ceee6f658b8f170a47c1 1 parent 92771a2
jfv authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 sys/dev/e1000/if_igb.c
4 sys/dev/e1000/if_igb.c
@@ -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);

0 comments on commit 14d93d6

Please sign in to comment.
Something went wrong with that request. Please try again.