Pavel Emelianov wrote:
> Patrick McHardy wrote:
> 
>>>+
>>>+    if (tb[IFLA_IFNAME])
>>>+            nla_strlcpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ);
>>>+    else
>>>+            snprintf(ifname, IFNAMSIZ, DRV_NAME "%%d");
>>
>>
>>Does this work? The other device is not registered at this time, so I
>>think the allocated names could clash ..
> 
> 
> Oh! And one more thing, I've just thought about - even two devices with
> similar name would be ok when we have a namespaces and one of the ends of
> this tunnel is to be in some other namespace rather that the init one.


Yes, but we don't have network namespaces yet. Which brings up another
question: is this driver of any use without namespaces?

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to