[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <469B361F.6060604@openvz.org>
Date: Mon, 16 Jul 2007 13:10:55 +0400
From: Pavel Emelianov <xemul@...nvz.org>
To: Patrick McHardy <kaber@...sh.net>
CC: David Miller <davem@...emloft.net>,
Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: [PATCH 2/2] Virtual ethernet device driver
Patrick McHardy wrote:
> 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?
>
>
Sure. For example, you can join two bridges together.
Thanks,
Pavel
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists