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

From: Jakub Kicinski
Date: Thu Mar 23 2023 - 12:43:29 EST


On Thu, 23 Mar 2023 09:32:27 +0100 Geert Uytterhoeven 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.