Re: [PATCH net-next 1/5] rtnetlink: provide permanent hardware address in RTM_NEWLINK

From: Johannes Berg
Date: Mon Dec 09 2019 - 18:21:47 EST


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