Re: [PATCH net] net: mana: Fix RX buf alloc_size alignment and atomic op panic

From: patchwork-bot+netdevbpf
Date: Mon Aug 12 2024 - 08:30:48 EST


Hello:

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

On Fri, 9 Aug 2024 14:01:24 -0700 you wrote:
> The MANA driver's RX buffer alloc_size is passed into napi_build_skb() to
> create SKB. skb_shinfo(skb) is located at the end of skb, and its alignment
> is affected by the alloc_size passed into napi_build_skb(). The size needs
> to be aligned properly for better performance and atomic operations.
> Otherwise, on ARM64 CPU, for certain MTU settings like 4000, atomic
> operations may panic on the skb_shinfo(skb)->dataref due to alignment fault.
>
> [...]

Here is the summary with links:
- [net] net: mana: Fix RX buf alloc_size alignment and atomic op panic
https://git.kernel.org/netdev/net/c/32316f676b4e

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