linux-imx/tools/net/ynl
Jakub Kicinski 6a65f015ee tools: ynl: don't ignore errors in NLMSG_DONE messages
[ Upstream commit a44f2eb106 ]

NLMSG_DONE contains an error code, it has to be extracted.
Prior to this change all dumps will end in success,
and in case of failure the result is silently truncated.

Fixes: e4b48ed460 ("tools: ynl: add a completely generic client")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://lore.kernel.org/r/20240420020827.3288615-1-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-02 16:32:36 +02:00
..
generated netlink: specs: devlink: fix reply command values 2023-10-13 17:27:27 -07:00
lib tools: ynl: don't ignore errors in NLMSG_DONE messages 2024-05-02 16:32:36 +02:00
samples
cli.py tools/net/ynl: Add support for create flags 2023-08-27 17:17:10 -07:00
ethtool.py
Makefile
Makefile.deps
requirements.txt
ynl-gen-c.py tools: ynl: fix setting presence bits in simple nests 2024-04-10 16:35:41 +02:00
ynl-regen.sh