Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:
On Tue, 2 Nov 2021 15:02:36 -0700 you wrote:
ETHTOOL_A_PAUSE_STAT_MAX is the MAX attribute id,
so we need to subtract non-stats and add one to
get a count (IOW -2+1 == -1).
Otherwise we'll see:
ethnl cmd 21: calculated reply length 40, but consumed 52
[...]
Here is the summary with links:
- [net,v2] ethtool: fix ethtool msg len calculation for pause stats
https://git.kernel.org/netdev/net/c/1aabe578dd86
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html