[lvc-project] [PATCH net v2] qed: fix division by zero in qed_init_wfq_param when all vports are configured
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Tue May 12 04:48:42 MSK 2026
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:
On Thu, 7 May 2026 17:55:17 +0300 you wrote:
> In qed_init_wfq_param(), variable non_requested_count can become zero
> when the number of vports with the configured flag set (including the
> current vport being configured) equals total num_vports. This happens
> when configuring the last unconfigured vport or when re-configuring
> an already configured vport.
>
> The function then calculates left_rate_per_vp = total_left_rate /
> non_requested_count, which causes division by zero.
>
> [...]
Here is the summary with links:
- [net,v2] qed: fix division by zero in qed_init_wfq_param when all vports are configured
https://git.kernel.org/netdev/net/c/be48e5fe51a5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the lvc-project
mailing list