Re: [PATCH net-next v2] Revert "sh_eth: remove open coded netif_running()"

From: Sergey Shtylyov
Date: Mon Mar 27 2023 - 14:07:41 EST


On 3/27/23 6:21 PM, Wolfram Sang wrote:

> This reverts commit ce1fdb065695f49ef6f126d35c1abbfe645d62d5. It turned
> out this actually introduces a race condition. netif_running() is not a
> suitable check for get_stats.
>
> Reported-by: Sergey Shtylyov <s.shtylyov@xxxxxx>
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
[...]

Reviewed-by: Sergey Shtylyov <s.shtylyov@xxxxxx>

MBR, Sergey