Re: Macvlan WARNiNGS about duplicate sysfs filenames (Was [GIT] Networking)

From: Cong Wang
Date: Tue Sep 09 2014 - 18:44:05 EST


On Mon, Sep 8, 2014 at 2:25 PM, Andres Freund <andres@xxxxxxxxxxx> 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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/