Subject: Re: [PATCH 2/2] Virtual ethernet device driver

From: Patrick McHardy <[email-masked]>
Date: Thu, 12 Jul 2007 15:24:02 +0200

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?