commit | 050219e97879338db8e67cc4ed9af8b818f434ce | [log] [tgz] |
---|---|---|
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | Fri Aug 10 07:56:21 2012 +0000 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Thu Sep 27 12:21:36 2012 -0500 |
tree | c08998decc34ad49a816da45458afc4be237b120 | |
parent | 19dfc472a1fd3e4113867c1a14cf25db2b35df9c [diff] |
net: eth_write_hwaddr: Return error for invalid MACs If dev->enetaddr was supposed to be set with dev->write_hwaddr() but the MAC address was not valid, return an error. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Joe Hershberger <joe.hershberger@gmail.com> Acked-by: Mike Frysinger <vapier@gentoo.org>