commit | 2ed9926e16094ad143b96b09c64cba8bcba05ee1 | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Sun Apr 13 22:45:40 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 13 22:45:40 2008 -0700 |
tree | 80694dbe8455fe47053709bd3c14a7edab1a8c24 | |
parent | d2dcba612b357a4687843ad4f46629d219233fd7 [diff] |
[NET]: Return more appropriate error from eth_validate_addr(). Paul Bolle wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=9923 would have been much easier to > track down if eth_validate_addr() would somehow complain aloud if an address > is invalid. Shouldn't it make at least some noise? I guess it should return -EADDRNOTAVAIL similar to eth_mac_addr() when validation fails. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>