Page MenuHomeFreeBSD

Set the correct state for new neighbor cache entries
ClosedPublic

Authored by vangyzen on Jan 26 2018, 5:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 10, 12:27 AM
Unknown Object (File)
Thu, May 9, 10:17 AM
Unknown Object (File)
Wed, May 1, 1:47 PM
Unknown Object (File)
Mon, Apr 29, 10:06 PM
Unknown Object (File)
Sat, Apr 27, 6:42 PM
Unknown Object (File)
Mar 19 2024, 9:38 PM
Unknown Object (File)
Mar 3 2024, 2:56 PM
Unknown Object (File)
Jan 15 2024, 2:27 PM

Details

Summary

Restore state 6. Many of the UNH tests end up exercising this
state, where we have a new neighbor cache entry and a new link-layer
entry is being created for it. The link-layer address is currently
unknown so the initial state of the "llentry" should remain initialized
to ND6_LLINFO_NOSTATE so that the ND code will send a solicitation.
Setting this to ND6_LLINFO_STALE implies that the link-level entry
is valid and can be used (but needs to be refreshed via the Neighbor
Unreachability state machine).

Test Plan

Several UNH IPv6 conformance tests failed before this change
and passed after the change.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mjoras added a subscriber: mjoras.

Thanks for this. I've noticed this behavior when debugging an unrelated ND6 issue, but never dug into where it happens in the code.

This revision is now accepted and ready to land.Jan 26 2018, 5:24 PM
dab added a reviewer: dab.

@ae, would you like to review this?

This revision was automatically updated to reflect the committed changes.