Revert "sh_eth: remove open coded netif_running()"
This reverts commit ce1fdb06. It turned out this actually introduces a race condition. netif_running() is not a suitable check for get_stats. Reported-by: NSergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: NWolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: NSergey Shtylyov <s.shtylyov@omp.ru> Reviewed-by: NSimon Horman <simon.horman@corigine.com> Link: https://lore.kernel.org/r/20230327152112.15635-1-wsa+renesas@sang-engineering.comSigned-off-by: NJakub Kicinski <kuba@kernel.org>
Showing
想要评论请 注册 或 登录