From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Dichtel Subject: Re: [PATCH iproute2] ip: IFLA_NEW_NETNSID/IFLA_NEW_IFINDEX support Date: Fri, 1 Jun 2018 17:02:18 +0200 Message-ID: References: <20180531142848.377-1-nicolas.dichtel@6wind.com> <20180531114615.3f10766f@shemminger-XPS-13-9360> Reply-To: nicolas.dichtel@6wind.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: netdev@vger.kernel.org To: Stephen Hemminger Return-path: Received: from mail-wm0-f45.google.com ([74.125.82.45]:38929 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751693AbeFAPCW (ORCPT ); Fri, 1 Jun 2018 11:02:22 -0400 Received: by mail-wm0-f45.google.com with SMTP id p11-v6so2688744wmc.4 for ; Fri, 01 Jun 2018 08:02:21 -0700 (PDT) In-Reply-To: Content-Language: fr Sender: netdev-owner@vger.kernel.org List-ID: Le 31/05/2018 à 17:51, Nicolas Dichtel a écrit : > Le 31/05/2018 à 17:46, Stephen Hemminger a écrit : >> On Thu, 31 May 2018 16:28:48 +0200 > [snip] >> This makes sense. All of linkinfo that is present should be displayed. >> >> Both netns and ifindex are really unsigned values. Use __u32 and print_uint. > Ok. I replied a bit quickly, both are signed values: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/core/rtnetlink.c#n1621 Regards, Nicolas