Re: [PATCH] net: fs_enet: do not call phy_stop() in interrupts

2018-01-17 Thread David Miller
From: Christophe Leroy Date: Tue, 16 Jan 2018 10:33:05 +0100 (CET) > In case of TX timeout, fs_timeout() calls phy_stop(), which > triggers the following BUG_ON() as we are in interrupt. ... > This patch moves fs_timeout() actions into an async worker. > > Fixes: commit 48257c4f168e5 ("Add fs_e

[PATCH] net: fs_enet: do not call phy_stop() in interrupts

2018-01-16 Thread Christophe Leroy
In case of TX timeout, fs_timeout() calls phy_stop(), which triggers the following BUG_ON() as we are in interrupt. [92708.199889] kernel BUG at drivers/net/phy/mdio_bus.c:482! [92708.204985] Oops: Exception in kernel mode, sig: 5 [#1] [92708.210119] PREEMPT [92708.212107] CMPC885 [92708.214216] C