Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1518840imm; Mon, 3 Sep 2018 02:33:58 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYnwjLSJ8j1oOLfFgGJuj+ZklNVHm6RN3EeUIF7HHrJlDuiPjp5vobtBqgsHjyTWHde5h6P X-Received: by 2002:a63:f616:: with SMTP id m22-v6mr25699537pgh.293.1535967238358; Mon, 03 Sep 2018 02:33:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535967238; cv=none; d=google.com; s=arc-20160816; b=AusTsnrMGNwly22Tk9g9Ri+Xtj/QyMdYTUjhmLi8MbiHUGASMLF6SXRD38nxDEHyst Unlm0Nlyz8XJSetVZdI0Qq+GI8zWscSxrADb03A7Q/kNALVpm/rBiDbrNGuJv0fx/JMg CYtZ/x0oETu3T4ZWLX9BSFLWBE8ix8vIjl/pdcQaMV2h0snCpEXMN0+5HvEFJ0CqJcs2 8UyHpfWWuS2OrYnuFkZb+XiJTv0lHfnS9nY62C2JCEQb88zNapSynj2ec+oCamszjqwe Vue+PsTgKxBNewHTZKX6oZ07ReowMnvTN4/qUZvnvO3qru3R/Y+QmMs1E74irEAlvEC7 i/ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:date:from :arc-authentication-results; bh=gA4CMHFpx3SYhrx7jxOLbG6PPLI8KyDREbDB3/8PSCs=; b=bpvfCYlNhTuPqnsjwFma1X1fxU98mtehdfHk9x020y/bybFXvziKupiOkHNHMX4wq/ S8h9HhJt1fvo3xPUmNZud2ejCsW9QrY4b6GLrzRIpMp5o0kZlNY2GVDuNSdJ5VA+249r NFAK80+Pj4GOdzqGLeTIbFoH218FktJQZ2Gcpawc8pIvKL8BmmCJPYFGhUxBR21p2P9D QhYkKqf3QTzZXR+gq3rz64NaonMbshuujdMbofO/4NWWW1SQULGO1QqcT28XRb44yaVm XL4p7lrKwKCRxRzpwomZuUnrnnIc4gtMlflCkDlUyZdodfmeGb7zxLUufUR1Qf3ajQT/ lu1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w71-v6si16831374pgd.362.2018.09.03.02.33.41; Mon, 03 Sep 2018 02:33:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727113AbeICNvo (ORCPT + 99 others); Mon, 3 Sep 2018 09:51:44 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:38594 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725927AbeICNvn (ORCPT ); Mon, 3 Sep 2018 09:51:43 -0400 Received: from mail-wm0-f69.google.com ([74.125.82.69]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1fwlDc-0004xK-4f for linux-kernel@vger.kernel.org; Mon, 03 Sep 2018 09:32:24 +0000 Received: by mail-wm0-f69.google.com with SMTP id t79-v6so236206wmt.3 for ; Mon, 03 Sep 2018 02:32:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=gA4CMHFpx3SYhrx7jxOLbG6PPLI8KyDREbDB3/8PSCs=; b=H2QHEYzrA8V4t4Wlfnnb7+NDaIB/8qen2q4+OxTWviCXFvz2Qe6DUrja3w9TrzbsVP tkrcCAYZTnHsrxhJfrzUKgn5Y+EeEP6orah6Sqo7myRdCB5swWwNDzarXOBlc0Uy8zI/ NujAtQGLCK8D+IAH9TysJMgUovuc5wAxjEe/YoNFbXHIi6en9wuDPkQjrF0ohQEx2Xur aqBZKZFlGJyzT+IigrapZp9Pfz2NzvDM1iVkt4oLoCtawNPtA0aV/gaEGryW5yQQPXkT /d/kyJ5HgVFxAOBqBiltpUGxFTVAEgYnnKwzMke6r94fWW8Kg07MqXFmInJ9nio7/65i uZ+A== X-Gm-Message-State: APzg51A1VG8Q8taylM6x1fgfifGyPWQjhxCL3su4vht1hljKwYQvHCbD uys6rQF4Z4WdXEzJT+3HdLE+Rjc8HZl7q4XpagVJTZHGUAuMFBWbZcbOw1KUORtvKueRGGNRgwU 9v9cMd4pvQwML7po4+wd7tGlyX778qCWzW5HvKKUeZw== X-Received: by 2002:adf:f749:: with SMTP id z9-v6mr18536959wrp.85.1535967143825; Mon, 03 Sep 2018 02:32:23 -0700 (PDT) X-Received: by 2002:adf:f749:: with SMTP id z9-v6mr18536948wrp.85.1535967143598; Mon, 03 Sep 2018 02:32:23 -0700 (PDT) Received: from gmail.com ([88.128.83.136]) by smtp.gmail.com with ESMTPSA id c15-v6sm8037570wmb.2.2018.09.03.02.32.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Sep 2018 02:32:23 -0700 (PDT) From: Christian Brauner X-Google-Original-From: Christian Brauner Date: Mon, 3 Sep 2018 11:32:22 +0200 To: Nicolas Dichtel Cc: Jiri Benc , David Miller , ktkhai@virtuozzo.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, pombredanne@nexb.com, kstewart@linuxfoundation.org, gregkh@linuxfoundation.org, dsahern@gmail.com, fw@strlen.de, lucien.xin@gmail.com, jakub.kicinski@netronome.com Subject: Re: [PATCH net-next 0/5] rtnetlink: add IFA_IF_NETNSID for RTM_GETADDR Message-ID: <20180903093221.bxdqw2iwvxli4dhf@gmail.com> References: <81379a4f-7149-10ff-2453-886314d0b0c4@virtuozzo.com> <20180830144544.tpross4jd6awou4u@gmail.com> <20180831.175847.339882322459287210.davem@davemloft.net> <20180901184704.lzynbw5zkyiqc6wb@gmail.com> <20180902115851.2b224c23@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 03, 2018 at 09:50:00AM +0200, Nicolas Dichtel wrote: > Le 02/09/2018 à 11:58, Jiri Benc a écrit : > > On Sat, 1 Sep 2018 20:47:05 +0200, Christian Brauner wrote: > >> Sorry for the late reply. Yup, sounds good to me. > >> But maybe IFA_TARGET_NETNSID to indicate that we're talking network > >> namespaces here? Seems to me that NSID might give the wrong impression. > >> I'll send v1 soon. I expect tomorrow or sometime next week. > > > > On the other hand, we currently have IFLA_IF_NETNSID for the link > > operations. IFA_IF_NETNSID is more consistent with the existing > > attribute. It may be confusing to authors of user space programs to > > have attribute names doing the same thing constructed differently for > > different calls (IFLA_IF_NETNSID and IFA_TARGET_NETNSID). > Yep, I also thought to this. It had sense because it was the link family. > What about adding an alias (#define IFLA_TARGET_NETNSID IFLA_IF_NETNSID) in the > uapi to better document this? Sounds good to me.