[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<171174063319.18563.15467171911509067118.git-patchwork-notify@kernel.org>
Date: Fri, 29 Mar 2024 19:30:33 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Donald Hunter <donald.hunter@...il.com>
Cc: netdev@...r.kernel.org, kuba@...nel.org, davem@...emloft.net,
edumazet@...gle.com, pabeni@...hat.com, jiri@...nulli.us,
jacob.e.keller@...el.com, sdf@...gle.com, donald.hunter@...hat.com
Subject: Re: [PATCH net-next v2] tools/net/ynl: Add extack policy attribute
decoding
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 28 Mar 2024 15:56:36 +0000 you wrote:
> The NLMSGERR_ATTR_POLICY extack attribute has been ignored by ynl up to
> now. Extend extack decoding to include _POLICY and the nested
> NL_POLICY_TYPE_ATTR_* attributes.
>
> For example:
>
> ./tools/net/ynl/cli.py \
> --spec Documentation/netlink/specs/rt_link.yaml \
> --create --do newlink --json '{
> "ifname": "12345678901234567890",
> "linkinfo": {"kind": "bridge"}
> }'
> Netlink error: Numerical result out of range
> nl_len = 104 (88) nl_flags = 0x300 nl_type = 2
> error: -34 extack: {'msg': 'Attribute failed policy validation',
> 'policy': {'max-length': 15, 'type': 'string'}, 'bad-attr': '.ifname'}
>
> [...]
Here is the summary with links:
- [net-next,v2] tools/net/ynl: Add extack policy attribute decoding
https://git.kernel.org/netdev/net-next/c/bd3ce405fecc
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists