[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140513175118.1e6bc156@nehalam.linuxnetplumber.net>
Date: Tue, 13 May 2014 17:51:18 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Cong Wang <cwang@...pensource.com>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
netdev <netdev@...r.kernel.org>
Subject: Re: Problem with iflink in netns
On Tue, 13 May 2014 13:44:24 -0700
Cong Wang <cwang@...pensource.com> wrote:
> On Tue, May 13, 2014 at 1:05 PM, Stephen Hemminger
> <stephen@...workplumber.org> wrote:
> >
> > That won't solve the problem.
> > 1. a pointer increase size of netns and requires refcount
>
> Yes.
>
> > 2. iflink is still exposed in kernel user API and has to be set
> > otherwise the device is falsely reported.
>
> Then report 0 which is not a valid ifindex?
But that is what devices without a parent report.
--
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