> So, this should be false only for WiFi links?  If that's the case, then
> these calls look wrong:
> 
> libdlaggr.c:    (void) dladm_init_linkprop(linkid, B_FALSE);
> libdlvlan.c:            (void) dladm_init_linkprop(vlanid, B_FALSE);
> 
> Should this be true or false for IP tunnel links?

If you know that your link is not a wifi link, you do not need to call 
dladm_init_linkprop() at all. Otherwise pass B_FALSE. When wifi property 
ioctls are converted to DLD...SETPROP, all calls to 
dladm_init_linkprop() outside of dlmgmtd will be removed.

Calls in libdl{aggr,vlan}.c are probably already redundant if they only 
apply to non-wifi links - they will do nothing, which is the correct 
behavior.

-Artem

Reply via email to