[illumos-Developer] [REVIEW] 248 mdnsd fails to run inside zone due to broken code

Richard Lowe richlowe at richlowe.net
Sun Sep 26 13:51:29 PDT 2010


I'd like review for:

   248 mdnsd fails to run inside zone due to broken code

webrev: http://richlowe.net/webrevs/il-mdns-zones/

As the bug says, the check here was completely busted in the face of
stack instances, but further (and as independently mentioned on
networking-discuss in response to Alasdair), the only thing this block
of code did was introduce this bug, SIOCGLIFCONF only returns interfaces
in the current zone unless lifc_flags includes LIFC_ALLZONES and is
being done from the GZ.

I've tested this by enabling mdnsd in both shared and exclusive stack
zones, and doing lookups of zero conf addresses for the zone from
outside (both GZ, other NGZs, and other hosts), and for other hosts from
within the zones.

If you plan to review this but want time, please let me know so that I
can wait for you.

Thanks, 

-- Rich



More information about the Developer mailing list