aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/lock_debug.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2025-04-14 21:18:47 +0000
committerJakub Kicinski <[email protected]>2025-04-17 01:09:41 +0000
commit57e7dedf2b8c72caa6f04b9e08b19e4f370562fa (patch)
tree2862de6ae62eeca73eb10395f79737ac5cca31c5 /net/core/lock_debug.c
parenttools: ynl-gen: individually free previous values on double set (diff)
downloadkernel-57e7dedf2b8c72caa6f04b9e08b19e4f370562fa.tar.gz
kernel-57e7dedf2b8c72caa6f04b9e08b19e4f370562fa.zip
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 <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/core/lock_debug.c')
0 files changed, 0 insertions, 0 deletions