Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4702074ybl; Mon, 9 Dec 2019 15:22:33 -0800 (PST) X-Google-Smtp-Source: APXvYqzfrgsEpHOrL+eD+MytbIx/Uz4JgBERb1/HWtp7VFCyTOXTHom+xilqbNMDXtu0+eF3pB75 X-Received: by 2002:aca:75d0:: with SMTP id q199mr1465265oic.121.1575933753234; Mon, 09 Dec 2019 15:22:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575933753; cv=none; d=google.com; s=arc-20160816; b=AUJE9kbKHamZXRTbS0txBhgVjz0xfnYz1cr3qf7MCsVJ7gZBBa3YuziC2UND0k6qvU DMM7tpvhsfEjtpel8ZmMrNBCOnWF5BCQHO1EHMbQCYJyX4MjzvQpyn+dLEAgMOi2H99E JFvvyd88zATB/reMH7PuA8F4P/8Llsc/yKr50UoT1WnJF6pn5DqV8H9mJcHdwSuO3W9I lGz8pYQQp/YfEKxvUXfgakh9drVEsFsdw5YRj5oqrB17tDk2T8blGyDbwi8LE0k4uYbX emaTV77EuGpeusmnla47UQiVvfm0UZAUXBi0UAs0+sHUNoFPT00fzJ+ZZyBFMOMsov43 nY0w== 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=lHQlkmYbKG2dXcNwqkdJ+ZDkply/SvsjaRvzqryiCTw=; b=ITc2kGkmh3zwDDH3tuJYnLMXTGBHKipylrI4hr8YAvdQ5x2mGm/t7isURCqBg62/Zf 6PHeacf1ot0PGPzhwKxVsMftFFfvHnGMvkqbJ5ZpRQGgxzxmmhgpcMZlzYDvlOw13a9r nONrqm85Krf9Xv+vZwpgRWMEiDlZusOHJqaUsYRL/Bjsr1ITGczRO34E0Kl+Sen0qQQU 4PU6V++/lQooE+5IWocquqMkB0L6BmhJdE41c50SOWBLXf3e34NNvcjupFgHsj130Hzk Siwa84cEb6Cs4eGz9izJN8fJ97r+Q2V1UMv/RXBOYJglFyy8ymsO3YAJLHHXng3LyuSt ++pQ== 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 v21si880333otj.282.2019.12.09.15.22.20; Mon, 09 Dec 2019 15:22:33 -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 S1727282AbfLIXVq (ORCPT + 99 others); Mon, 9 Dec 2019 18:21:46 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:47048 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726592AbfLIXVp (ORCPT ); Mon, 9 Dec 2019 18:21:45 -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 1ieSLO-00GuTC-19; Tue, 10 Dec 2019 00:21:34 +0100 Message-ID: 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:21:33 +0100 In-Reply-To: <54d6f040b283ad19e739d3b5a05d249285231c54.camel@sipsolutions.net> References: <0f4b780d5dd38109768d863781b0ce6de9ef4fbb.1575920565.git.mkubecek@suse.cz> <54d6f040b283ad19e739d3b5a05d249285231c54.camel@sipsolutions.net> 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 Tue, 2019-12-10 at 00:20 +0100, Johannes Berg wrote: > 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()? Ugh, sorry, ignore me. I need to go sleep instead of looking at patches. johannes