Re: [PATCH] net: 802: Use memset_startat() to clear struct fields

From: patchwork-bot+netdevbpf
Date: Fri Nov 19 2021 - 06:50:34 EST


Hello:

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

On Thu, 18 Nov 2021 12:30:45 -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.
>
> Use memset_startat() so memset() doesn't get confused about writing
> beyond the destination member that is intended to be the starting point
> of zeroing through the end of the struct.
>
> [...]

Here is the summary with links:
- net: 802: Use memset_startat() to clear struct fields
https://git.kernel.org/netdev/net-next/c/e3617433c3da

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