[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<173820844001.517031.4492741215957881605.git-patchwork-notify@kernel.org>
Date: Thu, 30 Jan 2025 03:40:40 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Toke Høiland-Jørgensen <toke@...hat.com>@codeaurora.org
Cc: ast@...nel.org, daniel@...earbox.net, davem@...emloft.net,
kuba@...nel.org, hawk@...nel.org, john.fastabend@...il.com, sdf@...ichev.me,
martin.lau@...nel.org, marcus.wichelmann@...zner-cloud.de,
edumazet@...gle.com, pabeni@...hat.com, horms@...nel.org,
netdev@...r.kernel.org, bpf@...r.kernel.org
Subject: Re: [PATCH net 1/2] net: xdp: Disallow attaching device-bound programs in
generic mode
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Mon, 27 Jan 2025 14:13:42 +0100 you wrote:
> Device-bound programs are used to support RX metadata kfuncs. These
> kfuncs are driver-specific and rely on the driver context to read the
> metadata. This means they can't work in generic XDP mode. However, there
> is no check to disallow such programs from being attached in generic
> mode, in which case the metadata kfuncs will be called in an invalid
> context, leading to crashes.
>
> [...]
Here is the summary with links:
- [net,1/2] net: xdp: Disallow attaching device-bound programs in generic mode
https://git.kernel.org/netdev/net/c/3595599fa836
- [net,2/2] selftests/net: Add test for loading devbound XDP program in generic mode
https://git.kernel.org/netdev/net/c/f7bf624b1fed
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