Re: [PATCH net v2] 8139too: fix system hang when there is a tx timeout event.

2016-08-01 Thread David Miller
From: Chunhao Lin Date: Mon, 1 Aug 2016 13:45:30 +0800 > If tx timeout event occur, kernel will call rtl8139_tx_timeout_task() to reset > hardware. But in this function, driver does not stop tx and rx function before > reset hardware, that will cause system hang. > > In this patch, add stop tx a

[PATCH net v2] 8139too: fix system hang when there is a tx timeout event.

2016-07-31 Thread Chunhao Lin
If tx timeout event occur, kernel will call rtl8139_tx_timeout_task() to reset hardware. But in this function, driver does not stop tx and rx function before reset hardware, that will cause system hang. In this patch, add stop tx and rx function before reset hardware. Signed-off-by: Chunhao Lin