From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Kubecek Subject: Re: Fw: [Bug 66691] New: iproute2: macvlan: Wrong root device shown if in different netns Date: Mon, 9 Dec 2013 09:02:00 +0100 Message-ID: <20131209080200.GC5355@unicorn.suse.cz> References: <20131206120543.0afaafb5@nehalam.linuxnetplumber.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "netdev@vger.kernel.org" To: Kevin Wilson Return-path: Received: from cantor2.suse.de ([195.135.220.15]:41440 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760557Ab3LIICD (ORCPT ); Mon, 9 Dec 2013 03:02:03 -0500 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Sat, Dec 07, 2013 at 11:18:52AM +0200, Kevin Wilson wrote: > Shouldn't the macvlan be network nsmespace local device, like the vlan > and VXLAN device (which have NETIF_F_NETNS set)? > When a nework device has the NETIF_F_NETNS flag set, it cannot be > moved from one network namespace to another. I don't think so. A setup where a macvlan is in a different namespace is used quite often, e.g. to provide a network device to an LXC container. Michal Kubecek