[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGXE3d81W+QG0kO_7P+36YkyNsRNup+MGq-1NQE0TxKMtBiJ4g@mail.gmail.com>
Date: Mon, 16 Dec 2013 11:38:19 +0100
From: Helmut Schaa <helmut.schaa@...glemail.com>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: netdev <netdev@...r.kernel.org>,
Pavel Emelyanov <xemul@...allels.com>
Subject: Re: Fw: [Bug 66691] New: iproute2: macvlan: Wrong root device shown
if in different netns
On Fri, Dec 6, 2013 at 9:05 PM, Stephen Hemminger
<stephen@...workplumber.org> wrote:
> This isn't a iproute2 bug, it is only reporting what the kernel tells it
But iproute2 assumes that the ifindex is unique within all net
namespaces. This isn't true anymore
after commit aa79e66eee5d525e2fcbd2a5fcb87ae3dd4aa9e9 "net: Make
ifindex generation
per-net namespace".
However, in order to do the right thing iproute2 would have to know
the ifindex of the
link device _and_ its associated netns.
Not sure how to deal with that ...
Helmut
--
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