Subject: Re: [PATCH net-next v3] neighbor: fix proxy_delay usage when it is zero

From: [email-masked]
Date: Thu, 02 Feb 2023 05:10:18 +0000

Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <[email-masked]>:

On Mon, 30 Jan 2023 12:14:28 -0500 you wrote:
> When set to zero, the neighbor sysctl proxy_delay value
> does not cause an immediate reply for ARP/ND requests
> as expected, it instead causes a random delay between
> [0, U32_MAX). Looking at this comment from
> __get_random_u32_below() explains the reason:
> 
> /*
>  * This function is technically undefined for ceil == 0, and in fact
>  * for the non-underscored constant version in the header, we build bug
>  * on that. But for the non-constant case, it's convenient to have that
>  * evaluate to being a straight call to get_random_u32(), so that
>  * get_random_u32_inclusive() can work over its whole range without
>  * undefined behavior.
>  */
> 
> [...]

Here is the summary with links:
  - [net-next,v3] neighbor: fix proxy_delay usage when it is zero
    https://git.kernel.org/netdev/net-next/c/62e395f82d04

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