> The semantics are clearer to me this way. The count represents how many > times DL_PROMISC_MULTI has been enabled on an ipnetif_t (this is > independent of address families)
But that's just it -- because one or both halves may be up when DL_PROMISC_MULTI is done, that's not particularly meaningful to know, which makes the code more complex. > and the flags represents which ill we've enabled the allmulti group on > underneath (this is only done once per address family, not multiple > times). Which seems like an unnecessary optimization given that IP can handle multiple joins internally. -- meem
