Re: [PATCH] mptcp: Use struct_group() to avoid cross-field memset()

From: patchwork-bot+netdevbpf
Date: Fri Jan 21 2022 - 22:41:17 EST


Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Thu, 20 Jan 2022 23:39:35 -0800 you wrote:
> In preparation for FORTIFY_SOURCE performing compile-time and run-time
> field bounds checking for memcpy(), memmove(), and memset(), avoid
> intentionally writing across neighboring fields.
>
> Use struct_group() to capture the fields to be reset, so that memset()
> can be appropriately bounds-checked by the compiler.
>
> [...]

Here is the summary with links:
- mptcp: Use struct_group() to avoid cross-field memset()
https://git.kernel.org/netdev/net/c/63ec72bd5848

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