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] [thread-next>] [day] [month] [year] [list]
Date: Tue, 14 Nov 2023 10:45:23 +0100
From: Paolo Abeni <pabeni@...hat.com>
To: Swarup Laxman Kotiaklapudi <swarupkotikalapudi@...il.com>, 
 davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
 jiri@...nulli.us,  netdev@...r.kernel.org
Cc: linux-kernel-mentees@...ts.linuxfoundation.org
Subject: Re: [PATCH] netlink: specs: devlink: add missing attributes in
 devlink.yaml and re-generate the related code

On Mon, 2023-11-13 at 12:09 +0530, Swarup Laxman Kotiaklapudi wrote:
> Add missing attributes in devlink.yaml.
> 
> Re-generate the related devlink-user.[ch] code.
> 
> trap-get command prints nested attributes.
> 
> Test result with trap-get command:
> 
> sudo ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/devlink.yaml
> --do trap-get --json '{"bus-name": "netdevsim", "dev-name": "netdevsim1",
> "trap-name": "ttl_value_is_too_small"}' --process-unknown
> 
> {'attr-stats': {'rx-bytes': 30931292, 'rx-dropped': 87,
>  'rx-packets': 217826},
>  'bus-name': 'netdevsim',
>  'dev-name': 'netdevsim1',
>  'trap-action': 'trap',
>  'trap-generic': True,
>  'trap-group-name': 'l3_exceptions',
>  'trap-metadata': {'metadata-type-in-port': True},
>  'trap-name': 'ttl_value_is_too_small',
>  'trap-type': 'exception'}
> 
> Signed-off-by: Swarup Laxman Kotiaklapudi <swarupkotikalapudi@...il.com>
> Suggested-by: Jiri Pirko <jiri@...nulli.us>

Please insert the target tree in the subj prefix (in this case 'net-
next')

Does not apply cleanly to net-next, please rebase it. 

Thanks,

Paolo


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ