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

patchwork-bot+netdevbpf
2025-01-14T23:10:09Z

Hello:

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

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@linaro.org>
>
> [...]

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.