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

From: Sergey Shtylyov
Date: Sat Mar 25 2023 - 16:27:54 EST


On 3/23/23 7:40 PM, Jakub Kicinski wrote:
[...]

>> Is there some protection against parallel execution of ndo_open()
>> and get_stats()?
>
> Nope - one is under rtnl_lock, the other under just RCU, IIRC.
> So this patch just makes the race worse, but it was already
> racy before.

How about reverting it then?

MBR, Sergey