Received: by 10.223.176.46 with SMTP id f43csp887704wra; Wed, 24 Jan 2018 07:25:27 -0800 (PST) X-Google-Smtp-Source: AH8x2272MyTtKCvO37mVB2DixUvSVHfTPVwPOGfUHwgh5bKB/S51Izdhn/QDY1+6VZLCOwKnnv8P X-Received: by 10.98.61.22 with SMTP id k22mr13207925pfa.133.1516807527734; Wed, 24 Jan 2018 07:25:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516807527; cv=none; d=google.com; s=arc-20160816; b=hFefaeZZQw+/qjqdBYM2ESgcsVn9Op40sRGz7pv8VxaGaEFPIdYKjA0I5vtOV+NS1p GyVZxWKDBJ2aPsw2hoE7qcbmOpzowm7yDA4WWVskr2I2HZ60/KXX2jiFG/oC39Tj1pJl UL7ABnxccedMRLp2wsRD7z2uOfrQCmfnx49DQHSrzYRUYgkh8QRKr7MqIlepvV7HuVm5 2GDbCy8vWNskg153f6fc20TrJWJ7SDH4HnGfxmVpfHCA60i0LeyCxkCPMBRp27+85Gvn a7g6dC9ldRFNHRsNqVyqiDCkveI+cUpX5JliV9xRfrQ7ZYAjgQSWscPdWDIheoH2163A IKKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:cc:to:references:subject:reply-to :dkim-signature:arc-authentication-results; bh=mO8Lew1Qj0PT1fwLr2YbQhvrCOEdXaxogKUQsKAS9oU=; b=gd5tr2fry7Qf04pV6ha9xB6WCzMNiJijpT0mlTkrDOeX4sLgUzFv4LITCaOklXAvOK jBHRbHsY5+L81IHGm5Pff9otjGyeTKkdlr7hZz1AdQkM7ZDgcwu3Kzz04x5CzIhrJK4T vm1UJAYxXnwoK/Zat4gM37guNwHNfAzdvENDjXmUk6owNsQS+/434+n/53U4qckNq0pw Le1+HpIB8WEIBiZjyKP8oZebM4+EDkmD8wh+bItBD0g33RBdFYCyZH7iD2W830so1Rfr mfa5hteNtRJ4cmYLM+JHM3ZqcjQ4KwekRcaT+Zl6u0d3De+eBCLuFQHsEJxzKxC1u6+b VRxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@6wind-com.20150623.gappssmtp.com header.s=20150623 header.b=RH+xKyu4; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b17si3022222pfd.406.2018.01.24.07.25.13; Wed, 24 Jan 2018 07:25:27 -0800 (PST) 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; dkim=pass header.i=@6wind-com.20150623.gappssmtp.com header.s=20150623 header.b=RH+xKyu4; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934199AbeAXPYk (ORCPT + 99 others); Wed, 24 Jan 2018 10:24:40 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:41783 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933953AbeAXPYi (ORCPT ); Wed, 24 Jan 2018 10:24:38 -0500 Received: by mail-wm0-f49.google.com with SMTP id f71so9168887wmf.0 for ; Wed, 24 Jan 2018 07:24:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=reply-to:subject:references:to:cc:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mO8Lew1Qj0PT1fwLr2YbQhvrCOEdXaxogKUQsKAS9oU=; b=RH+xKyu4Zlm9sakbvEqfXFLIWnWoiq9Wer/WGmmY480bqw8GgFIgZTiQnOqlC9HYWq 5EEIh7NGscqcV37tXmLOe43TyY66jWnqlERAXhMI6nzLtfqvHrC7pWFmX4kr8jmYgkWu BY22RtwghgU/OUjG/KszKiwrZST3fGU0VNi4h3oirbX7lZCIpvGvLThwRVe4u3lHR1+I jWtoHo8G8iCjO4Kll+cfvFsnl/d3/tFaHiOW+Tu42YMItnvtarGg19i5t84Ry0fhNy5s +GQSg3JK9XlRSMoAs/Q5tpgUj3XuIt+6YCYGLtRYxXpZ5BuZXpG87d8tjl31oH8NstYF rPQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:references:to:cc:from :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=mO8Lew1Qj0PT1fwLr2YbQhvrCOEdXaxogKUQsKAS9oU=; b=e8lI1QGFijAxX1ioR24shfRoNVKYqkJUWtYl5pqmlc9t8lc6UUHAojTxSdryN/RhcY 6Z+yOrM2nbhxTcTI/N5Q0OfnLGYbb3ZYvF7NKHNQVAO3SrahKH0W1150XSqAO/4nkvIo vOFB3t/X0GTtKatq5LU78SnwRtigSoqQG2LZVPZj0FLD0rNT1MdVvXnrYWFTU5pONgrG Iv4Relp8Kv/I1Pu2BJe0kCqYOFljJJfUNjh43U2iZYjaON9oR0Y+WAMlv0xw39ZZTzGI aJF8SAIhxSWz+5fz8KDBD0RCdQ3GaJ9jhMe7MoiinOemKj0gdQBXonb97QL9k2jocN/+ msTw== X-Gm-Message-State: AKwxytcx2eUgBJAw7NdatVd4P1MYjZ9DcmEL8msRud8G5QpLTAlLGzcX V3PnmUWqCgZX5Hj+tBGEZV6IIQ== X-Received: by 10.28.93.80 with SMTP id r77mr4669021wmb.73.1516807477263; Wed, 24 Jan 2018 07:24:37 -0800 (PST) Received: from ?IPv6:2a01:e35:8b63:dc30:4848:10ce:3a2d:92a4? ([2a01:e35:8b63:dc30:4848:10ce:3a2d:92a4]) by smtp.gmail.com with ESMTPSA id k69sm491687wmg.8.2018.01.24.07.24.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jan 2018 07:24:36 -0800 (PST) Reply-To: nicolas.dichtel@6wind.com Subject: Re: [PATCH net-next 0/3 V1] rtnetlink: enable IFLA_IF_NETNSID for RTM_{DEL,SET}LINK References: <20180124142634.17766-1-christian.brauner@ubuntu.com> To: Christian Brauner , netdev@vger.kernel.org Cc: ebiederm@xmission.com, davem@davemloft.net, dsahern@gmail.com, fw@strlen.de, daniel@iogearbox.net, lucien.xin@gmail.com, mschiffer@universe-factory.net, jakub.kicinski@netronome.com, vyasevich@gmail.com, linux-kernel@vger.kernel.org, jbenc@redhat.com, w.bumiller@proxmox.com, Christian Brauner From: Nicolas Dichtel Organization: 6WIND Message-ID: Date: Wed, 24 Jan 2018 16:24:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180124142634.17766-1-christian.brauner@ubuntu.com> Content-Type: text/plain; charset=utf-8 Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Le 24/01/2018 à 15:26, Christian Brauner a écrit : > Hi, > > Based on the previous discussion this enables passing a IFLA_IF_NETNSID > property along with RTM_SETLINK and RTM_DELLINK requests. The patch for > RTM_NEWLINK will be sent out in a separate patch since there are more > corner-cases to think about. I wonder if it would be possible to do something in the netlink framework, like NETLINK_LISTEN_ALL_NSID. Having some ancillary data at the netlink socket level and a function like nlsock_net() (instead of sock_net()) to get the corresponding netns. With that, it would be possible, in a generci way, to support this feature for all netlink family. Regards, Nicolas