[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5527D831.7080703@6wind.com>
Date: Fri, 10 Apr 2015 16:03:29 +0200
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
To: Vadim Kochan <vadim4j@...il.com>
CC: shemminger@...tta.com, netdev@...r.kernel.org
Subject: Re: [PATCH iproute2-next 2/2] netns: allow to dump and monitor nsid
Le 09/04/2015 10:48, Vadim Kochan a écrit :
> On Thu, Apr 09, 2015 at 10:30:14AM +0200, Nicolas Dichtel wrote:
[snip]
>> +struct nsid_cache {
>> + struct hlist_node nsid_hash;
>> + struct hlist_node name_hash;
>> + int nsid;
>> + char name[NAME_MAX];
>> +};
>
> I am not sure but may be lib/names.c can be used here for caching
> netns (name,id) entries here ?
If I understrand well, the way to get the id is completely different, thus
it needs a lot of changes to use this lib.
--
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