From: David Ahern Subject: Re: [PATCH net-next v3 5/5] netns: enable to dump full nsid translation table Date: Sat, 24 Nov 2018 08:47:10 -0700 Message-ID: <2b4cb0c2-0b1b-ef91-5eea-9f6eeb955107@gmail.com> References: <20181122155031.3495-1-nicolas.dichtel@6wind.com> <20181122222215.23554-1-nicolas.dichtel@6wind.com> <20181122222215.23554-6-nicolas.dichtel@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, davem@davemloft.net To: Nicolas Dichtel Return-path: Received: from mail-pl1-f194.google.com ([209.85.214.194]:37552 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725751AbeKYCfz (ORCPT ); Sat, 24 Nov 2018 21:35:55 -0500 Received: by mail-pl1-f194.google.com with SMTP id b5so11869671plr.4 for ; Sat, 24 Nov 2018 07:47:13 -0800 (PST) In-Reply-To: <20181122222215.23554-6-nicolas.dichtel@6wind.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 11/22/18 3:22 PM, Nicolas Dichtel wrote: > Like the previous patch, the goal is to ease to convert nsids from one > netns to another netns. > A new attribute (NETNSA_CURRENT_NSID) is added to the kernel answer when > NETNSA_TARGET_NSID is provided, thus the user can easily convert nsids. > > Signed-off-by: Nicolas Dichtel > --- > include/uapi/linux/net_namespace.h | 1 + > net/core/net_namespace.c | 31 ++++++++++++++++++++++++------ > 2 files changed, 26 insertions(+), 6 deletions(-) > Reviewed-by: David Ahern