lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHA+R7M=8TnW-_R8kzkRgr0aX5y09ek7BAoiKT7+AVGtO=Y8gQ@mail.gmail.com>
Date:	Wed, 14 May 2014 14:11:22 -0700
From:	Cong Wang <cwang@...pensource.com>
To:	Stephen Hemminger <stephen@...workplumber.org>
Cc:	"Eric W. Biederman" <ebiederm@...ssion.com>,
	netdev <netdev@...r.kernel.org>
Subject: Re: Problem with iflink in netns

On Tue, May 13, 2014 at 5:51 PM, Stephen Hemminger
<stephen@...workplumber.org> wrote:
> 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.

Its parent of out of this netns, so this is expected. This is no way
to express "it's in another netns" with just ifindex. Maybe a new flag
would help.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ