aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgb/ixgb_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgb/ixgb_main.c')
-rw-r--r--drivers/net/ixgb/ixgb_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c
index ec8bce154364..60cad65dbc2e 100644
--- a/drivers/net/ixgb/ixgb_main.c
+++ b/drivers/net/ixgb/ixgb_main.c
@@ -1782,7 +1782,8 @@ ixgb_clean(struct napi_struct *napi, int budget)
1782 /* If budget not fully consumed, exit the polling mode */ 1782 /* If budget not fully consumed, exit the polling mode */
1783 if (work_done < budget) { 1783 if (work_done < budget) {
1784 netif_rx_complete(netdev, napi); 1784 netif_rx_complete(netdev, napi);
1785 ixgb_irq_enable(adapter); 1785 if (!test_bit(__IXGB_DOWN, &adapter->flags))
1786 ixgb_irq_enable(adapter);
1786 } 1787 }
1787 1788
1788 return work_done; 1789 return work_done;