NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/60071 CVS commit: src/sys



Oops!

I mistakenly passed the diff file to cvs -F...
Could someone change the commit log of the commit in the
repository with the following log?

Thanks,
  ozaki-r

====
nd: reset ln_asked on state reset

Even if a userland program such as ping continuously sends packets
to a (temporarily) unreachable host, the ND resolver only sends
request packets up to nd_mmaxtries times. This change allows ND
request packets to continue being sent while the userland process
is still sending packets.

Additionally, introduce LLE_UNRESOLVED to fix another issue.
nd_resolve may incorrectly return an error immediately after sending
the last ND request packet. For example, if nd_mmaxtries = 1 and two
packets arrive simultaneously, nd_resolve returns an error for the
second packet. This occurs because ln_asked is used to determine
whether the ND resolution is still in progress.

Instead, use the new LLE_UNRESOLVED state. It is set when the state
transitions to WAITDELETE, i.e., one second after the last request
is sent without successful address resolution.

PR kern/60071
====

On Thu, Mar 26, 2026 at 1:40 PM Ryota Ozaki <ozaki-r%netbsd.org@localhost> wrote:
>
> The following reply was made to PR kern/60071; it has been noted by GNATS


Home | Main Index | Thread Index | Old Index