[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165097801081.17994.867649031795224132.git-patchwork-notify@kernel.org>
Date: Tue, 26 Apr 2022 13:00:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Nikolay Aleksandrov <razor@...ckwall.org>
Cc: netdev@...r.kernel.org, kuba@...nel.org, davem@...emloft.net,
stable@...r.kernel.org, jasowang@...hat.com,
xuanzhuo@...ux.alibaba.com, daniel@...earbox.net, mst@...hat.com,
virtualization@...ts.linux-foundation.org
Subject: Re: [PATCH net v3] virtio_net: fix wrong buf address calculation when
using xdp
Hello:
This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@...hat.com>:
On Mon, 25 Apr 2022 13:37:03 +0300 you wrote:
> We received a report[1] of kernel crashes when Cilium is used in XDP
> mode with virtio_net after updating to newer kernels. After
> investigating the reason it turned out that when using mergeable bufs
> with an XDP program which adjusts xdp.data or xdp.data_meta page_to_buf()
> calculates the build_skb address wrong because the offset can become less
> than the headroom so it gets the address of the previous page (-X bytes
> depending on how lower offset is):
> page_to_skb: page addr ffff9eb2923e2000 buf ffff9eb2923e1ffc offset 252 headroom 256
>
> [...]
Here is the summary with links:
- [net,v3] virtio_net: fix wrong buf address calculation when using xdp
https://git.kernel.org/netdev/net/c/acb16b395c3f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists