[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230126233713.28c64c4e@kernel.org>
Date: Thu, 26 Jan 2023 23:37:13 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Brian Haley <haleyb.dev@...il.com>
Cc: davem@...emloft.net, edumazet@...gle.com, pabeni@...hat.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2] neighbor: fix proxy_delay usage when it is
zero
On Wed, 25 Jan 2023 14:51:14 -0500 Brian Haley wrote:
> + or proxy_ndp is enabled. A random value between [0, proxy_delay]
Do you mean: [0, proxy_delay) or there's something that can give us an
extra jiffy (IOW shouldn't the upper limit be open) ?
it's
random() % MAX - (1 - noise)
where (1 - noise) is the fraction of jiffy which already passed since
the tick.
Sorry if I'm slow to get it..
Powered by blists - more mailing lists