[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <2d415391-82fa-4cf6-bc9b-ce845596a535@app.fastmail.com>
Date: Wed, 09 Jul 2025 17:09:54 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "Jiri Pirko" <jiri@...nulli.us>, "Arnd Bergmann" <arnd@...nel.org>
Cc: "David S . Miller" <davem@...emloft.net>,
"Eric Dumazet" <edumazet@...gle.com>, "Jakub Kicinski" <kuba@...nel.org>,
"Paolo Abeni" <pabeni@...hat.com>, "Carolina Jubran" <cjubran@...dia.com>,
"Tariq Toukan" <tariqt@...dia.com>, "Cosmin Ratiu" <cratiu@...dia.com>,
"Mark Bloch" <mbloch@...dia.com>, "Simon Horman" <horms@...nel.org>,
"Joe Damato" <jdamato@...tly.com>,
"Przemek Kitszel" <przemyslaw.kitszel@...el.com>,
Netdev <netdev@...r.kernel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] devlink: move DEVLINK_ATTR_MAX-sized array off stack
On Wed, Jul 9, 2025, at 12:05, Jiri Pirko wrote:
> Tue, Jul 08, 2025 at 06:06:43PM +0200, arnd@...nel.org wrote:
>
> Isn't it about the time to start to leverage or cleanup infrastructure
> for things like this? /me covers against all the eggs flying in
> I mean, there are subsystems where it's perfectly fine to use it.
> Can we start with frees like this one and avoid the silly gotos?
I had so far resisted learning about how those actually work, thanks
for pushing me to finally trying it out ;-)
I've sent a v2 now.
Arnd
Powered by blists - more mailing lists