On Tue, 5 Jan 2021 03:03:27 +0200 Vladimir Oltean wrote: > On Mon, Jan 04, 2021 at 09:53:09AM -0800, Jakub Kicinski wrote: > > On Mon, 4 Jan 2021 12:42:27 +0200 Vladimir Oltean wrote: > > > And what happened to dev_base_lock? Did it suddenly go away? > > > > I thought all callers switched to RCU. You investigated this in depth, > > did I miss something? I'm sending this correction because I have a > > series which adds to other sections of this file and this jumped out > > to me as incorrect. > > Well, there's netstat_show from net/core/net-sysfs.c still. I couldn't > figure why that lock exists, it doesn't seem to protect something in > particular.
Ah, thanks for pointing that out, in that case I should just add RCU to the list of locks that may be held.