diff options
author | hrs <hrs@FreeBSD.org> | 2015-08-24 05:21:49 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2015-08-24 05:21:49 +0000 |
commit | d27954934dbe90eaadc064d7cbd06ab4114b5ea5 (patch) | |
tree | ef86ab348dd799416cd8b6b90f0e95b39e827021 /sys/netinet6/in6_ifattach.c | |
parent | 3d11afb49c3c0c9dc22cc90bc263eca6b0851dd8 (diff) | |
download | FreeBSD-src-d27954934dbe90eaadc064d7cbd06ab4114b5ea5.zip FreeBSD-src-d27954934dbe90eaadc064d7cbd06ab4114b5ea5.tar.gz |
- Deprecate IN6_IFF_NODAD. It was used to prevent DAD on a loopback
interface but in6if_do_dad() already had a check for IFF_LOOPBACK.
- Remove in6if_do_dad() check in in6_broadcast_ifa(). An address
which needs DAD always has IN6_IFF_TENTATIVE there.
- in6if_do_dad() now returns EAGAIN when the interface is not ready
since DAD callout handler ignores such an interface.
- In DAD callout handler, mark an address as IN6_IFF_TENTATIVE
when the interface has ND6_IFF_IFDISABLED. And Do IFF_UP and
IFF_DRV_RUNNING check consistently when DAD is required.
- draft-ietf-6man-enhanced-dad is now published as RFC 7527.
- Fix some typos.
Diffstat (limited to 'sys/netinet6/in6_ifattach.c')
-rw-r--r-- | sys/netinet6/in6_ifattach.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c index d8a32d5..37bd720 100644 --- a/sys/netinet6/in6_ifattach.c +++ b/sys/netinet6/in6_ifattach.c @@ -566,9 +566,6 @@ in6_ifattach_loopback(struct ifnet *ifp) ifra.ifra_lifetime.ia6t_vltime = ND6_INFINITE_LIFETIME; ifra.ifra_lifetime.ia6t_pltime = ND6_INFINITE_LIFETIME; - /* we don't need to perform DAD on loopback interfaces. */ - ifra.ifra_flags |= IN6_IFF_NODAD; - /* skip registration to the prefix list. XXX should be temporary. */ ifra.ifra_flags |= IN6_IFF_NOPFX; |