OpenCloudOS-Kernel/tools/net/ynl
Jakub Kicinski 5c05bdd95f tools: ynl: fix setting presence bits in simple nests
[ Upstream commit f6c8f5e8694c7a78c94e408b628afa6255cc428a ]

When we set members of simple nested structures in requests
we need to set "presence" bits for all the nesting layers
below. This has nothing to do with the presence type of
the last layer.

Fixes: be5bea1cc0 ("net: add basic C code generators for Netlink")
Reviewed-by: Breno Leitao <leitao@debian.org>
Link: https://lore.kernel.org/r/20240321020214.1250202-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-10 16:35:41 +02:00
..
generated netlink: specs: devlink: fix reply command values 2023-10-13 17:27:27 -07:00
lib tools: ynl: fix handling of multiple mcast groups 2024-03-06 14:48:36 +00:00
samples ynl: print xdp-zc-max-segs in the sample 2023-07-28 09:33:12 -07:00
Makefile ynl: regenerate all headers 2023-07-28 09:33:12 -07:00
Makefile.deps tools: ynl: improve the direct-include header guard logic 2023-06-22 19:47:02 -07:00
cli.py tools/net/ynl: Add support for create flags 2023-08-27 17:17:10 -07:00
ethtool.py tools: ynl: Rename ethtool to ethtool.py 2023-04-13 22:18:29 -07:00
requirements.txt tools: ynl: add the Python requirements.txt file 2023-03-24 19:11:02 -07:00
ynl-gen-c.py tools: ynl: fix setting presence bits in simple nests 2024-04-10 16:35:41 +02:00
ynl-regen.sh ynl: regenerate all headers 2023-07-28 09:33:12 -07:00