Re: [PATCH net] ipv6: avoid divide by zero in rt6_multipath_rebalance

From: patchwork-bot+netdevbpf

Date: Thu Aug 20 2026 - 15:52:41 EST


Hello:

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

On Sun, 16 Aug 2026 21:32:37 -0400 you wrote:
> rt6_multipath_rebalance() calculates the total eligible nexthop weight
> in one pass and programs upper bounds in a second pass. Since
> RTM_NEWROUTE is RTNL-free, a concurrent
> ignore_routes_with_linkdown update can make the first pass return zero
> while the second sees an eligible nexthop, causing
> rt6_upper_bound_set() to divide by zero.
>
> [...]

Here is the summary with links:
- [net] ipv6: avoid divide by zero in rt6_multipath_rebalance
https://git.kernel.org/netdev/net/c/d2c26c2911dd

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