Commit 8db35b85 authored by Jesse Brandeburg's avatar Jesse Brandeburg Committed by Linus Torvalds

[PATCH] e1000: fix napi crash on ifdown during traffic

Signed off by: Jesse Brandeburg
parent 86b148ce
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
char e1000_driver_name[] = "e1000"; char e1000_driver_name[] = "e1000";
char e1000_driver_string[] = "Intel(R) PRO/1000 Network Driver"; char e1000_driver_string[] = "Intel(R) PRO/1000 Network Driver";
char e1000_driver_version[] = "5.2.52-k2"; char e1000_driver_version[] = "5.2.52-k4";
char e1000_copyright[] = "Copyright (c) 1999-2004 Intel Corporation."; char e1000_copyright[] = "Copyright (c) 1999-2004 Intel Corporation.";
/* e1000_pci_tbl - PCI Device ID Table /* e1000_pci_tbl - PCI Device ID Table
...@@ -2143,6 +2143,7 @@ e1000_clean(struct net_device *netdev, int *budget) ...@@ -2143,6 +2143,7 @@ e1000_clean(struct net_device *netdev, int *budget)
if(work_done < work_to_do || !netif_running(netdev)) { if(work_done < work_to_do || !netif_running(netdev)) {
netif_rx_complete(netdev); netif_rx_complete(netdev);
e1000_irq_enable(adapter); e1000_irq_enable(adapter);
return 0;
} }
return (work_done >= work_to_do); return (work_done >= work_to_do);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment