From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: Re: Macvlan WARNiNGS about duplicate sysfs filenames (Was [GIT] Networking) Date: Tue, 9 Sep 2014 15:43:55 -0700 Message-ID: References: <20140907.164109.1944849896872238507.davem@davemloft.net> <20140908212514.GA2348@awork2.anarazel.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: David Miller , Linus Torvalds , Andrew Morton , netdev , "linux-kernel@vger.kernel.org" To: Andres Freund , "Alexander Y. Fomichev" Return-path: In-Reply-To: <20140908212514.GA2348@awork2.anarazel.de> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Mon, Sep 8, 2014 at 2:25 PM, Andres Freund wrote: > Hi, > > (don't have netdev archived, thus answering here, sorry) > > On 2014-09-07 16:41:09 -0700, David Miller wrote: >> Alexander Y. Fomichev (1): >> net: prevent of emerging cross-namespace symlinks > Since you are quoting this change, are you saying it causes the following kernel warning? > I'm seeing WARNINGs like: > [ 1005.269134] ------------[ cut here ]------------ > [ 1005.269148] WARNING: CPU: 6 PID: 4213 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x64/0x80() > [ 1005.269150] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/net/eth0/upper_mv-eth0' Is there a network device named upper_mv-eth0 existed in your system before you created macvlan?