]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
This change adds a flag to the DAD entry to indicate whether it is
authorjtl <jtl@FreeBSD.org>
Sat, 24 Mar 2018 13:18:09 +0000 (13:18 +0000)
committerjtl <jtl@FreeBSD.org>
Sat, 24 Mar 2018 13:18:09 +0000 (13:18 +0000)
commit5ccb8e69d6e46090937fbbec4a83ecd3c6612571
treeda14cc449ba5d8eff054df91574abdce72c02810
parent7a587bbbb6682b47165e8d555feadd5c7a5f6313
This change adds a flag to the DAD entry to indicate whether it is
currently on the queue. This prevents accidentally doubly-removing a DAD
entry from the queue, while also simplifying some of the logic in
nd6_dad_stop().

Reviewed by: ae, hrs, vangyzen
MFC after: 2 weeks
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D10943
sys/netinet6/nd6_nbr.c