Re: [PATCH] ethtool: stats: Use struct_group() to clear all stats at once

From: patchwork-bot+netdevbpf
Date: Fri Nov 19 2021 - 07:00:50 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Thu, 18 Nov 2021 12:34:56 -0800 you wrote:
> In preparation for FORTIFY_SOURCE performing compile-time and run-time
> field bounds checking for memset(), avoid intentionally writing across
> neighboring fields.
>
> Add struct_group() to mark region of struct stats_reply_data that should
> be initialized, which can now be done in a single memset() call.
>
> [...]

Here is the summary with links:
- ethtool: stats: Use struct_group() to clear all stats at once
https://git.kernel.org/netdev/net-next/c/812ad3d270cb

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html