Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5687497ybl; Tue, 10 Dec 2019 09:52:02 -0800 (PST) X-Google-Smtp-Source: APXvYqyNfgMJlqkrIEvR1Fd98l5MVHD0QR0YGqS0+x8zABZyjyH41M6GTKetLkYawh6c6POnrci/ X-Received: by 2002:a05:6808:1c5:: with SMTP id x5mr31309oic.57.1576000322307; Tue, 10 Dec 2019 09:52:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576000322; cv=none; d=google.com; s=arc-20160816; b=pSHhyGIWOkUtNJ2eu611/alR3iiWyCeXzZEM7Y5HkyGD0fMSo0BBBUNWjwXhK6bymd WBX6k1cn7pQoepyOCGFI7ZeVnVBMsg4NYoerNEsG8InqMcxPiVpri1kKnUZQd/zHf++3 josDQfx8bpSCRdTs7ge6DiX8VI8APijcS23nX7T0nnEhyrKq3vh4QEIIc0WdP1dm4tcK AVb8lR5HFz47Pj8RI5p6T68b4Hfbj0y12lsIM7Ye1+EkIO59uCSZIKsSZfuAL35b5y5R XnE/8Vs5hBRTpu9jwvhMpHJRK+ysmbuc3/pEHjFobouwVsKtKqWcXRD7p7+YLFujaaVQ RqvQ== 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:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=QXn1RGPwZ6zXKbwhoYm49pCMZGeX4H/5cWHqgx7PCfM=; b=Vko6dJjVeu493j1JBlynezTJ7pJIvqCVTmW7RGnjabzoyr5MsIMCYMhXaUvnyikWY+ eQ7TBFKnHHH4nEkKM5JWiZYr9jENp061mIRNLSpXuIC/SKIYwXMahTmxNhBDgK6ulT22 WF2Le+feymlKV9g5Zrfjm60fkBquF3wJ8dEyjCGaIppQsYgPxdNX3YgdM5PqB5XOaOh8 cGIvUeIelJVEaqwfaR3/r/RrzAOOU8VuA8L8YeZpPwRH1UxueSHlYYPAeYeJKKkx/sUT 2FFg2jFl6JdQ5wxkFxx88SmX/8b4Jg8wYFspYjZaFqja+pgdvGcGOMJM2v5X+XaDAPba zXww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=IpiSSd7E; 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 h200si2228288oib.258.2019.12.10.09.51.50; Tue, 10 Dec 2019 09:52:02 -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=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=IpiSSd7E; 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 S1727607AbfLJRvJ (ORCPT + 99 others); Tue, 10 Dec 2019 12:51:09 -0500 Received: from mail-pj1-f66.google.com ([209.85.216.66]:37841 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727520AbfLJRvJ (ORCPT ); Tue, 10 Dec 2019 12:51:09 -0500 Received: by mail-pj1-f66.google.com with SMTP id ep17so7687934pjb.4 for ; Tue, 10 Dec 2019 09:51:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=QXn1RGPwZ6zXKbwhoYm49pCMZGeX4H/5cWHqgx7PCfM=; b=IpiSSd7EmETipQvWoJpINVoRETxT/2c+DqXroUQCDRSFC1qcm6iIT5h9CzBpIBcJTe YYJBzvl4ak2xqjymy/vaFJAv3eX383SRXgMKWWT/rEUFG6594OHOQflAPXdCIgVLwD07 F470FLKeB4NQy1dISeww6JxRuHhE5uzASfv7hOohNdsp7AL2o0of7erlhaYInWg0atFe 2YIBqzMeon+NVBG9UFuh0nyYceM56KeNiAMr2aP2qth+c00vgWtXheK+sBOJWXAbywfh vhg50TUEhalnUnT3B2idrNxlbg4gqnCxfNgSj/r0ig2/uXDO3bjU5h7GMQjbDqrcO61e wvpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=QXn1RGPwZ6zXKbwhoYm49pCMZGeX4H/5cWHqgx7PCfM=; b=tQG89w2pUaeedB/3HsvgoLq5yu2ayNJerHMMEe9RfBHkX/UdoctEioZSCvhyXEczZM nL0Yv4AJuJ5qI9OJo7fu/H9l1kMaXHSHB5WardalptgkazDS5wx393In+EfqHA3pTmsg i4RLKMwnxoy14oGRoX4rmZULGrODE5wKFGp72d3C6BhA7KVXmxATig9Kv8ub7uzZQfpn LSEvPLyYQw9N2arvFA8O+IJtiYtfqG2CO4+4MJ5LxOvxVldgOZZRvv/qbXqPIITu6jdk jFO+kLDFNejHnsBuCtaFqqwcbmFXPTMog/Y8LwXrPNSezJuWqnc8fsBiwda96a8PmyAR AKnQ== X-Gm-Message-State: APjAAAXhXpL8lhLrIPejA+Cgr0nXYJRh7YDe6Xrl8fs0RQ8xCpiTAixc PM46lLfccQKtELVr0aQRhMATyg== X-Received: by 2002:a17:90a:e98d:: with SMTP id v13mr6825670pjy.107.1576000268735; Tue, 10 Dec 2019 09:51:08 -0800 (PST) Received: from cakuba.netronome.com ([2601:646:8e00:e18::3]) by smtp.gmail.com with ESMTPSA id i26sm4057278pfr.151.2019.12.10.09.51.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2019 09:51:08 -0800 (PST) Date: Tue, 10 Dec 2019 09:51:05 -0800 From: Jakub Kicinski To: Jiri Pirko Cc: Michal Kubecek , David Miller , netdev@vger.kernel.org, Andrew Lunn , Florian Fainelli , John Linville , Stephen Hemminger , Johannes Berg , linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v2 1/5] rtnetlink: provide permanent hardware address in RTM_NEWLINK Message-ID: <20191210095105.1f0008f5@cakuba.netronome.com> In-Reply-To: <7c28b1aa87436515de39e04206db36f6f374dc2f.1575982069.git.mkubecek@suse.cz> References: <7c28b1aa87436515de39e04206db36f6f374dc2f.1575982069.git.mkubecek@suse.cz> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 10 Dec 2019 14:07:53 +0100 (CET), Michal Kubecek wrote: > @@ -1822,6 +1826,7 @@ static const struct nla_policy ifla_policy[IFLA_MAX= +1] =3D { > [IFLA_PROP_LIST] =3D { .type =3D NLA_NESTED }, > [IFLA_ALT_IFNAME] =3D { .type =3D NLA_STRING, > .len =3D ALTIFNAMSIZ - 1 }, > + [IFLA_PERM_ADDRESS] =3D { .type =3D NLA_REJECT }, > }; > =20 > static const struct nla_policy ifla_info_policy[IFLA_INFO_MAX+1] =3D { Jiri, I just noticed ifla_policy didn't get strict_start_type set when ALT_IFNAME was added, should we add it in net? =F0=9F=A4=94