Skip to contentSkip to conversation

e1000e: Revert "e1000e: Make watchdog use delayed work"

Intel-wired-lan Jeff Kirsher 1 participant 1 message Dec 17, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

This reverts commit 59653e6497d16f7ac1d9db088f3959f57ee8c3db.

This is due to this commit causing driver crashes and connections to reset unexpectedly.

---
 drivers/net/ethernet/intel/e1000e/e1000.h  |  5 +-
 drivers/net/ethernet/intel/e1000e/netdev.c | 57 ++++++++++------------
 2 files changed, 29 insertions(+), 33 deletions(-)
drivers/net/ethernet/intel/e1000e/e1000.h +2 -3
index 6c51b1bad8c4..37a2314d3e6b 100644
@@ -185,13 +185,12 @@ struct e1000_phy_regs {
 
 /* board specific private data structure */
 struct e1000_adapter {
+	struct timer_list watchdog_timer;
 	struct timer_list phy_info_timer;
 	struct timer_list blink_timer;
 
 	struct work_struct reset_task;
-	struct delayed_work watchdog_task;
-
-	struct workqueue_struct *e1000_workqueue;
+	struct work_struct watchdog_task;
 
 	const struct e1000_info *ei;
 
drivers/net/ethernet/intel/e1000e/netdev.c +27 -30

125 lines not on this page · raw message

Signature · 1 line
2.23.0