Files
linux-stable-mirror/include/uapi/linux
Jakub Kicinski 33bd6b76ac net: ethtool: correct MAX attribute value for stats
[ Upstream commit 52f79609c0 ]

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: f09ea6fb12 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-21 16:01:00 +02:00
..
2022-09-15 09:08:09 +02:00
2022-09-24 07:00:00 +02:00
2022-09-20 09:13:38 +02:00
2022-09-29 18:43:04 +02:00
2022-09-20 09:13:38 +02:00
2022-09-27 17:29:09 -07:00