diff options
author | Jakub Kicinski <kuba@kernel.org> | 2025-04-15 00:18:47 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-17 04:09:41 +0300 |
commit | 57e7dedf2b8c72caa6f04b9e08b19e4f370562fa (patch) | |
tree | 2862de6ae62eeca73eb10395f79737ac5cca31c5 /tools/perf/scripts/python/gecko.py | |
parent | ce6cb8113c842b94e77364b247c4f85c7b34e0c2 (diff) | |
download | linux-57e7dedf2b8c72caa6f04b9e08b19e4f370562fa.tar.xz |
tools: ynl-gen: make sure we validate subtype of array-nest
ArrayNest AKA indexed-array support currently skips inner type
validation. We count the attributes and then we parse them,
make sure we call validate, too. Otherwise buggy / unexpected
kernel response may lead to crashes.
Fixes: be5bea1cc0bf ("net: add basic C code generators for Netlink")
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20250414211851.602096-5-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions