From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Dichtel Subject: [PATCH iproute2 v2 0/2] display netns name instead of nsid Date: Tue, 5 Jun 2018 15:08:29 +0200 Message-ID: <20180605130831.8175-1-nicolas.dichtel@6wind.com> References: <20180604141215.0669f05f@xeon-e3> Cc: netdev@vger.kernel.org To: stephen@networkplumber.org Return-path: Received: from host.76.145.23.62.rev.coltfrance.com ([62.23.145.76]:51605 "EHLO proxy.6wind.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751808AbeFENIv (ORCPT ); Tue, 5 Jun 2018 09:08:51 -0400 In-Reply-To: <20180604141215.0669f05f@xeon-e3> Sender: netdev-owner@vger.kernel.org List-ID: After these patches, the iproute2 name of netns is displayed instead of the nsid. It's easier to read/understand. v1 -> v2: - open netns socket and init netns map only when needed ip/ip_common.h | 3 +++ ip/ipaddress.c | 20 +++++++++++++++----- ip/iplink.c | 18 ++++++++++++++++-- ip/ipnetns.c | 22 ++++++++++++++++++++-- 4 files changed, 54 insertions(+), 9 deletions(-) Comments are welcomed, Regards, Nicolas