Re: [PATCH v2] bnx2: Use kmalloc_size_roundup() to match ksize() usage

From: patchwork-bot+netdevbpf
Date: Tue Oct 25 2022 - 07:20:24 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Fri, 21 Oct 2022 19:10:47 -0700 you wrote:
> Round up allocations with kmalloc_size_roundup() so that build_skb()'s
> use of ksize() is always accurate and no special handling of the memory
> is needed by KASAN, UBSAN_BOUNDS, nor FORTIFY_SOURCE.
>
> Cc: Rasesh Mody <rmody@xxxxxxxxxxx>
> Cc: GR-Linux-NIC-Dev@xxxxxxxxxxx
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: Eric Dumazet <edumazet@xxxxxxxxxx>
> Cc: Jakub Kicinski <kuba@xxxxxxxxxx>
> Cc: Paolo Abeni <pabeni@xxxxxxxxxx>
> Cc: netdev@xxxxxxxxxxxxxxx
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [v2] bnx2: Use kmalloc_size_roundup() to match ksize() usage
https://git.kernel.org/netdev/net-next/c/d6dd508080a3

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