netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Brian Haley <haleyb.dev@gmail.com>
Cc: davem@davemloft.net, edumazet@google.com, pabeni@redhat.com,
	netdev@vger.kernel.org
Subject: Re: [PATCH net-next v2] neighbor: fix proxy_delay usage when it is zero
Date: Thu, 26 Jan 2023 23:37:13 -0800	[thread overview]
Message-ID: <20230126233713.28c64c4e@kernel.org> (raw)
In-Reply-To: <20230125195114.596295-1-haleyb.dev@gmail.com>

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..

  reply	other threads:[~2023-01-27  7:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-25 19:51 [PATCH net-next v2] neighbor: fix proxy_delay usage when it is zero Brian Haley
2023-01-27  7:37 ` Jakub Kicinski [this message]
2023-01-30 17:13   ` Brian Haley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230126233713.28c64c4e@kernel.org \
    --to=kuba@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=haleyb.dev@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).