original_kernel/tools/net/ynl
Antonio Quartulli ec8c25746e ynl: ensure exact-len value is resolved
For type String and Binary we are currently usinig the exact-len
limit value as is without attempting any name resolution.
However, the spec may specify the name of a constant rather than an
actual value, which would result in using the constant name as is
and thus break the policy.

Ensure the limit value is passed to get_limit(), which will always
attempt resolving the name before printing the policy rule.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Link: https://lore.kernel.org/r/20240510232202.24051-1-a@unstable.cc
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-05-13 14:59:24 -07:00
..
generated
lib tools: ynl: add --list-ops and --list-msgs to CLI 2024-05-03 15:13:21 -07:00
samples tools: ynl: add ynl_dump_empty() helper 2024-04-02 18:01:58 -07:00
Makefile
Makefile.deps
cli.py tools: ynl: add --list-ops and --list-msgs to CLI 2024-05-03 15:13:21 -07:00
ethtool.py tools: ynl: ethtool.py: Output timestamping statistics from tsinfo-get operation 2024-04-05 22:27:57 -07:00
requirements.txt
ynl-gen-c.py ynl: ensure exact-len value is resolved 2024-05-13 14:59:24 -07:00
ynl-gen-rst.py doc: netlink: Add hyperlinks to generated Netlink docs 2024-04-01 21:26:02 -07:00
ynl-regen.sh