Re: [PATCH] net: linkwatch: ignore events for unregistered netdevs
From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-04-25 15:01:04
Also in:
linux-usb
From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-04-25 15:01:04
Also in:
linux-usb
On Mon, 25 Apr 2022 16:49:34 +0200 Jann Horn wrote:
quoted
Doesn't mean we should make it legal. We can add a warning to catch abuses.That was the idea with https://lore.kernel.org/netdev/20220128014303.2334568-1-jannh@google.com/ (local), but I didn't get any replies when I asked what the precise semantics of dev_hold() are supposed to be (https://lore.kernel.org/netdev/CAG48ez1-OyZETvrYAfaHicYW1LbrQUVp=C0EukSWqZrYMej73w@mail.gmail.com/ (local)), so I don't know how to proceed...
Yeah, I think after you pointed out that the netdev per cpu refcounting is fundamentally broken everybody decided to hit themselves with the obliviate spell :S