Re: Problem with iflink in netns
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2014-05-14 00:51:22
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2014-05-14 00:51:22
On Tue, 13 May 2014 13:44:24 -0700 Cong Wang [off-list ref] wrote:
On Tue, May 13, 2014 at 1:05 PM, Stephen Hemminger [off-list ref] wrote:quoted
That won't solve the problem. 1. a pointer increase size of netns and requires refcountYes.quoted
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.