HomeFreeBSD

- Deprecate IN6_IFF_NODAD. It was used to prevent DAD on a loopback

Description

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

Details

Provenance
hrsAuthored on
Parents
rS287093: Instead of doing an no-op (|= 0), actually clear the flags in
Branches
Unknown
Tags
Unknown