summaryrefslogtreecommitdiff
path: root/include/acpi/actbl2.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-06-08 19:23:44 +0300
committerDavid S. Miller <davem@davemloft.net>2023-06-12 10:50:48 +0300
commit52f79609c0c5b25fddb88e85f25ce08aa7e3fb42 (patch)
tree8cf8422dbe33c3ca4df25545de64329dc7b2c1bb /include/acpi/actbl2.h
parent7ebe4eda4265642859507d1b3ca330d8c196cfe5 (diff)
downloadlinux-52f79609c0c5b25fddb88e85f25ce08aa7e3fb42.tar.xz
net: ethtool: correct MAX attribute value for stats
When compiling YNL generated code compiler complains about array-initializer-out-of-bounds. Turns out the MAX value for STATS_GRP uses the value for STATS. This may lead to random corruptions in user space (kernel itself doesn't use this value as it never parses stats). Fixes: f09ea6fb1272 ("ethtool: add a new command for reading standard stats") Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/acpi/actbl2.h')
0 files changed, 0 insertions, 0 deletions