lkml.org 
[lkml]   [2019]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net-next 1/5] rtnetlink: provide permanent hardware address in RTM_NEWLINK
From
Date
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

\
 
 \ /
  Last update: 2019-12-10 00:22    [W:0.340 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site