[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231024124513.69121bdf@kernel.org>
Date: Tue, 24 Oct 2023 12:45:13 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: David Ahern <dsahern@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, almasrymina@...gle.com, hawk@...nel.org,
ilias.apalodimas@...aro.org
Subject: Re: [PATCH net-next 05/15] net: page_pool: record pools per netdev
On Tue, 24 Oct 2023 13:19:35 -0600 David Ahern wrote:
> >> blackhole_netdev might be a better choice than loopback
> >
> > With loopback we still keep it per netns, and still accessible
> > via netlink.
>
> and if the namespace and loopback device get deleted?
For now we're back to printing the warning to dmesg.
My instinct is that such double-orphans (both netdev and netns
disappeared) should be reported via a separate netlink command
accessible in init_net only. But that's for later, I hope falling
back to the print is good enough for now.
Powered by blists - more mailing lists