Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4701217ybl; Mon, 9 Dec 2019 15:21:54 -0800 (PST) X-Google-Smtp-Source: APXvYqxSMdeSR2rXrJXUy9si9VtlyMPQZ5CsjYlkxsTcdixq5Iuo1P/uEXztI9Yw64LpdrNTsJ2+ X-Received: by 2002:aca:ed81:: with SMTP id l123mr1527534oih.129.1575933714315; Mon, 09 Dec 2019 15:21:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575933714; cv=none; d=google.com; s=arc-20160816; b=jMx6EbN7B1Kzs6/LJCOfS3BjdihK5WEzBe1QfN0e6KAmA1DZcUvP8xPbimpljEZgqM 8sdcqKrRv/XeqHEiqwcd13Bi6re7JHMTYsyknOFp7AiuoVHAci3q5BXiubJC9mOFKRq5 EgWUUuk9tjWp3i7zlZ1F47R6Xak8DDJTg5g4xme9PKSmaybDS3a/ZyyeniyFksQVdFvj joLe93mYTQWhQZVu1Vl2Ae1K6/QtbfNlNojQJIPH3tp6sD/psJ7RvuWf71GtvOqJkIDk hz0REuIXfVvasV1hBanrp8o8poqmYc9l09bGktsEao6KO33RNCJJfBLcgWvtA1FVd34i nGbQ== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=WqA11pnm8e8xLKpl5efIIatppFsfLmpJ392n/oXrBm4=; b=Cmfd7cAq9b84I4+u9PDf4/+7Oa2u6UznHMHi7WYgCSQaHSLQXKS4QNtpfHx1mJagLk 1h2EBJH2GqzUjlQSs68YsbzPG5Z2wmiLednu0vHvghyFIs8Cn9nyB7dj+CRM0oqXF14I 3mLY5Yw3GqYfAu4CI/i1qYFc3+bgdUY5I5HeRXusoQPSo/OfjM+bpS4EVZ2BT6nnbznr IK6rKr9Ns6I/6oH8fM6XS7fiPsCHpV4guQdYIgHvVNEkqYdN6G5nuoFt/DD6WDJ+k2Hk GXDNolc+39Nt/J8RlxfZzF1V8ASAE/f8Q0QD93KgZxzgljwq9fg6ogCwoXTfx9kyPGiC CsRg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d11si775787oti.325.2019.12.09.15.21.42; Mon, 09 Dec 2019 15:21:54 -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; 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 S1727178AbfLIXVJ (ORCPT + 99 others); Mon, 9 Dec 2019 18:21:09 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:46980 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726592AbfLIXVJ (ORCPT ); Mon, 9 Dec 2019 18:21:09 -0500 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.92.3) (envelope-from ) id 1ieSKk-00GuNm-IL; Tue, 10 Dec 2019 00:20:54 +0100 Message-ID: <54d6f040b283ad19e739d3b5a05d249285231c54.camel@sipsolutions.net> Subject: Re: [PATCH net-next 1/5] rtnetlink: provide permanent hardware address in RTM_NEWLINK From: Johannes Berg To: Michal Kubecek , David Miller , netdev@vger.kernel.org Cc: Jakub Kicinski , Jiri Pirko , Andrew Lunn , Florian Fainelli , John Linville , Stephen Hemminger , linux-kernel@vger.kernel.org Date: Tue, 10 Dec 2019 00:20:51 +0100 In-Reply-To: <0f4b780d5dd38109768d863781b0ce6de9ef4fbb.1575920565.git.mkubecek@suse.cz> References: <0f4b780d5dd38109768d863781b0ce6de9ef4fbb.1575920565.git.mkubecek@suse.cz> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 (3.34.2-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2019-12-09 at 20:55 +0100, Michal Kubecek wrote: > > + if (memchr_inv(dev->perm_addr, '\0', dev->addr_len) && Why not simply !is_zero_ether_addr()? johannes