lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240621175617.496f85a5@kmaincent-XPS-13-7390>
Date: Fri, 21 Jun 2024 17:56:17 +0200
From: Kory Maincent <kory.maincent@...tlin.com>
To: Donald Hunter <donald.hunter@...il.com>
Cc: Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org
Subject: Re: Netlink specs, help dealing with nested array

On Fri, 21 Jun 2024 16:27:57 +0100
Donald Hunter <donald.hunter@...il.com> wrote:

> On Fri, 21 Jun 2024 at 16:19, Jakub Kicinski <kuba@...nel.org> wrote:
>  [...]  
>  [...]  
> >
> > You're (correctly) formatting your data as a basic multi-attr.
> > Instead of:
> >
> > +        name: c33-pse-pw-limit-ranges
> > +        name-prefix: ethtool-a-
> > +        type: indexed-array
> > +        sub-type: nest
> > +        nested-attributes: c33-pse-pw-limit
> >
> > use:
> >
> > +        name: c33-pse-pw-limit-ranges
> > +        name-prefix: ethtool-a-
> > +        type: nest
> > +        multi-attr: true
> > +        nested-attributes: c33-pse-pw-limit  
> 
> Ah yes, I was "fixing" things in the wrong direction. Sorry for the confusion.

Thanks Donald and Jakub!
It is working better with the right netlink specs.

Regards,
-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ