Re: [PATCH] devlink: move DEVLINK_ATTR_MAX-sized array off stack

From: Arnd Bergmann
Date: Wed Jul 09 2025 - 11:14:51 EST


On Wed, Jul 9, 2025, at 12:05, Jiri Pirko wrote:
> Tue, Jul 08, 2025 at 06:06:43PM +0200, arnd@xxxxxxxxxx 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