I have a fix for:

6640357 ifconfig: cannot open link "ip6.tun(n)": Invalid argument

http://zhadum.east/ws/seb/seb_uvfix/webrev/

The fix is to have dls_mgmt_get_linkid() return an error code rather than 
a link id (since it can fail for a multitude of reasons that 
DATALINK_INVALID_LINKID cannot represent), and have it pass back the 
error returned by i_dls_mgmt_upcall() instead of always returning 
DATALINK_INVALID_LINKID.  dls_mgmt_get_linkid() should also explicitly 
return ENOENT in a number of cases instead of EINVAL.

I've tested the fix manually using ifconfig.

If folks are okay with this, I'll put it back and provide PIT with a fix.

-Seb

Reply via email to