]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r328552
authorvangyzen <vangyzen@FreeBSD.org>
Mon, 5 Feb 2018 18:56:34 +0000 (18:56 +0000)
committervangyzen <vangyzen@FreeBSD.org>
Mon, 5 Feb 2018 18:56:34 +0000 (18:56 +0000)
commit98e3b0400397c25820933045a37bf64f30bb2935
treedd3885194b09a4c1643bbb0b8b46149fadba1392
parent5650e69d1e29b104583820a083e47153f77476eb
MFC r328552

ND6: Set the correct state for new neighbor cache entries

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

https://forums.freebsd.org/threads/64287/

Submitted by: Farrell Woods <Farrell_Woods@Dell.com>
Reviewed by: mjoras, dab, ae
Sponsored by: Dell EMC
Differential Revision: https://reviews.freebsd.org/D14059
sys/netinet6/nd6.c