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

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


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