e100 locking up netconsole.
Subsystems (2)
PATCH 9/10 e100 locking up netconsole.
From: Steven Rostedt <[email protected]>
If the transmit buffer of the e100 overflowed, then the system would hang. This was caused because the e100 driver would stop the queue, and netpoll_send_pkt in netpoll.c would then loop forever. This is because the e100 net_poll would never start the queue again after the transmits have completed.
For those that use the e100 and netconsole, all you need to do is a sysreq 't' to lock up the system.
Acked-by Ingo Molnar <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
25-akpm/drivers/net/e100.c | 1 + 1 files changed, 1 insertion(+)
drivers/net/e100.c renamed from drivers/net/e100.c~e100-locking-up-netconsole +1 -0
@@ -1630,6 +1630,7 @@ static void e100_netpoll(struct net_devistruct nic *nic =netdev_priv (netdev);e100_disable_irq (nic);e100_intr (nic->pdev->irq, netdev,NULL ); +e100_tx_clean (nic); e100_enable_irq(nic); }#endif
_