On (04/24/09 00:15), Peter Memishian wrote:
>  > In the case described as "convert a duplicate test
>  > address to a data address", the data address is still going to be
>  > duplicate until DAD succeeds, right?
> 
> Yes but the fact that the ipif is a dup is tracked on its corresponding
> ill (ill_ipif_dup_count).  While we could've handled this case during the
> IPMP address move/clone logic, the code is more obviously correct if it
> can assert that DAD is not ongoing.  Thus, the kernel will not allow an
> IFF_NOFAILOVER to be turned off if IFF_DUPLICATE is also lit (see the
> handling in ip_sioctl_flags()).  Thus, IFF_DUPLICATE needs to be cleared
> first, hence the comment above.

Ok, given that this particular case is very specific to ipmp, its details
at least one that can be hidden inside libipadm while we try to figure
out what flags we need for the cases of general apps that query for
interface and address flags.

--Sowmini


_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to