[Devel] Re: [PATCH][NETNS] Make ifindex generation per-namespace
Eric W. Biederman
ebiederm at xmission.com
Wed Oct 10 11:15:33 PDT 2007
Pavel Emelyanov <xemul at openvz.org> writes:
>> I know there are several data structures internal to the kernel that
>> are indexed by ifindex, and not struct net_device *. There is the
>> iflink field in struct net_device. We need a way to refer to network
>> devices in other namespaces in rtnetlink in an unambiguous way. I
>> don't see any real problems with a global ifindex assignment until
>> we start migrating applications.
>>
>> So please hold off on this until the kernel has been audited and
>> we have removed all of the uses of ifindex that assume ifindex is
>> global, that we can find.
>
> Ok.
Thanks.
Eric
More information about the Devel
mailing list