lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20121221130127.GB2040@minipsycho.orion> Date: Fri, 21 Dec 2012 14:01:27 +0100 From: Jiri Pirko <jiri@...nulli.us> To: netdev@...r.kernel.org Cc: bhutchings@...arflare.com Subject: perm_addr get Hi all. >From what I understand dev->perm_addr is set only in case the hw has permanent hw address somewhere written (for example EPROM). So when I query device which does not have perm_addr set I get: testt1:~$ ethtool -P team0 Permanent address: 00:00:00:00:00:00 Is this the correct behaviour? Wouldn't it be more correct if ethtool_get_perm_addr() fails with -ENOENT for something like that? Thanks. Jiri -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html