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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux