Re: [PATCH net-next] devlink: Fix excessive stack usage in rate TC bandwidth parsing

From: patchwork-bot+netdevbpf
Date: Wed Jul 23 2025 - 22:00:51 EST


Hello:

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

On Tue, 22 Jul 2025 12:13:29 +0300 you wrote:
> From: Carolina Jubran <cjubran@xxxxxxxxxx>
>
> The devlink_nl_rate_tc_bw_parse function uses a large stack array for
> devlink attributes, which triggers a warning about excessive stack
> usage:
>
> net/devlink/rate.c: In function 'devlink_nl_rate_tc_bw_parse':
> net/devlink/rate.c:382:1: error: the frame size of 1648 bytes is larger than 1536 bytes [-Werror=frame-larger-than=]
>
> [...]

Here is the summary with links:
- [net-next] devlink: Fix excessive stack usage in rate TC bandwidth parsing
https://git.kernel.org/netdev/net-next/c/1bbdb81a9836

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