Re: [PATCH net] nfp: bpf: prevent integer overflow in nfp_bpf_event_output()

From: patchwork-bot+netdevbpf
Date: Tue Jan 14 2025 - 18:10:21 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 13 Jan 2025 09:18:39 +0300 you wrote:
> The "sizeof(struct cmsg_bpf_event) + pkt_size + data_size" math could
> potentially have an integer wrapping bug on 32bit systems. Check for
> this and return an error.
>
> Fixes: 9816dd35ecec ("nfp: bpf: perf event output helpers support")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net] nfp: bpf: prevent integer overflow in nfp_bpf_event_output()
https://git.kernel.org/netdev/net/c/16ebb6f5b629

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