Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5742277ybl; Tue, 10 Dec 2019 10:44:58 -0800 (PST) X-Google-Smtp-Source: APXvYqzWDuictStI40WIk2xSQawB9ZGlsWoeuxec3lm3rcdZRdtx7C3Uo9S2/G0ipS/EExJ2tvxv X-Received: by 2002:aca:d610:: with SMTP id n16mr264253oig.108.1576003498759; Tue, 10 Dec 2019 10:44:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576003498; cv=none; d=google.com; s=arc-20160816; b=SaCaxxtfxN/wUWGjo9El0ah7HVErn+n1j/+7VpBDI0raWIsQyYLh30wK9bF8faWy8t dv1XygAbZYX8Uw8lpADe5aoBBgpgFeih7VOHHoJxiqTh9kV2SBY1g8ZFDLxTTxXvwbtt pRNU0jKlzPJT6qSLS6kHOC3O7KE7fJrl6jeWlsnT/+EGtpgZk//hXwtyQmK4CHOH+VlP W3tD3tzF0CkwMJmt4keTc9P+jWT1Ul4j0NchHynp93PbxQKLlskP+rP8eYe5dKI4/bwH rBmqCt3s1RgBOKRK8G8bj/C1LNa3nfT6ZT4y9LrwUsEws0pdan1IgQBbQyFbAcrQcoTs lEgg== 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:from:date:dkim-signature; bh=/T5WjX6H/ErjoxiBfZBOaK9N8M3Emjx06kbzRJKScRU=; b=RBZgsSSvZHAsNEI+/72Glcf0JfDMK9e9tYj/Ri/Puv868d6lhRsf5ucIWx8aqC43Gi PNdjunTojTPux0F4mMAbmkKrn0GPRn8xaqYTtL78OPeCGFDuGwFgxaWffauSM82k07gP ntIHqMMt9x8hN1jrnpxmYHqkVY1q4iFLfwFb0ljWTLojYNWHJw3JRPfjseSpT+Kf9lYM HHWmc0F1BW4FLnfIeN2Ha1nT3YQrOwmz2P5d1s73mC6bTeVJd4g9FcyNCSGvprPLSofA +K8u1RPrLK/3cuEr15szHpd0RxLk6/Kz7y6gTOxdXnfYdJSK0VyE2JuvkCCWPWy94reU StCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=u61jC3dd; 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 m5si2307808ote.187.2019.12.10.10.44.46; Tue, 10 Dec 2019 10:44:58 -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=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=u61jC3dd; 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 S1727728AbfLJSnr (ORCPT + 99 others); Tue, 10 Dec 2019 13:43:47 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:51314 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727620AbfLJSnr (ORCPT ); Tue, 10 Dec 2019 13:43:47 -0500 Received: by mail-wm1-f67.google.com with SMTP id d73so1126029wmd.1 for ; Tue, 10 Dec 2019 10:43:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=/T5WjX6H/ErjoxiBfZBOaK9N8M3Emjx06kbzRJKScRU=; b=u61jC3dd5btuU1LTirGEHKGHO/sJAFpAvEbzr+r1IhSxUBB5d0YLbmzQBXxIGwpBqC dyShA8AuIfIsoS6Gt89TdqqcNVg4/oxz9xEbe43RzdYkG00ZvC74qekSPQ4p4RVpYWS0 erL4Shrlk+eanoB++nsy6IlIDey4C0c5fJYz8A18wCVW3s4aZgx/X+UsPX+XKO1MLNU6 5jWbrMHbQk61z+gM/h8jjPZ08CyI4F4iTrqWSz7cOkoagX2DbAFgXX6PXs7sJrQBTJ1h Fdv4BNBKcV42OHJJQe1DoQTwprZLJkMe9B2qIF5lFvN1pws65xCHBUq3ao8/2bwpghuw bXwQ== 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:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=/T5WjX6H/ErjoxiBfZBOaK9N8M3Emjx06kbzRJKScRU=; b=fmiv9rQ+tDPY0jpMQP897ZLBCjR6j/BZtmI0oK4pLge4el2bOQFQu7NyN4GllxcgOb DmVNLEhjY+lE2LSJZy4tTpWYO9bslSXn0js+Md/CGVQlSqG/dZ2aJhwYLDN67/63qYMS Nwd5kQYcczxrtc3Y6ls3cNOXsZSsRhvpB9NuL5FadqpO4Khci2JKHR9VOdCyvcExau+/ svzNC2cjy8TopV+EL0j81fnjIIIYmcJWSTm0TDB+ipg9VsVlbSlfdruOADmxaL6zG3rL lukdE2oNg8Eza2TkaJtTmgdIelSzrrJsJJIkVwoE+TQ9n2IQPXkSOHnOcCAmcaWtYOwR l84g== X-Gm-Message-State: APjAAAWUrUCTag5KDPlF3Ldv4u1LTUdye4NkOnB3T4QKaz9+8afPxnz6 jMHrQvH/SaWanyiTiImnrl2JLw== X-Received: by 2002:a7b:c95a:: with SMTP id i26mr6749458wml.67.1576003424871; Tue, 10 Dec 2019 10:43:44 -0800 (PST) Received: from localhost (ip-94-113-220-172.net.upcbroadband.cz. [94.113.220.172]) by smtp.gmail.com with ESMTPSA id o4sm4121296wrx.25.2019.12.10.10.43.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2019 10:43:44 -0800 (PST) Date: Tue, 10 Dec 2019 19:43:43 +0100 From: Jiri Pirko To: Jakub Kicinski 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: <20191210184343.GB7075@nanopsycho> References: <7c28b1aa87436515de39e04206db36f6f374dc2f.1575982069.git.mkubecek@suse.cz> <20191210095105.1f0008f5@cakuba.netronome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191210095105.1f0008f5@cakuba.netronome.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tue, Dec 10, 2019 at 06:51:05PM CET, jakub.kicinski@netronome.com wrote: >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] = { >> [IFLA_PROP_LIST] = { .type = NLA_NESTED }, >> [IFLA_ALT_IFNAME] = { .type = NLA_STRING, >> .len = ALTIFNAMSIZ - 1 }, >> + [IFLA_PERM_ADDRESS] = { .type = NLA_REJECT }, >> }; >> >> static const struct nla_policy ifla_info_policy[IFLA_INFO_MAX+1] = { > >Jiri, I just noticed ifla_policy didn't get strict_start_type set when >ALT_IFNAME was added, should we add it in net? ???? Hmm, I guess that is a good idea.