Staging
v0.5.1
https://github.com/torvalds/linux
Revision 2ed9926e16094ad143b96b09c64cba8bcba05ee1 authored by Patrick McHardy on 14 April 2008, 05:45:40 UTC, committed by David S. Miller on 14 April 2008, 05:45:40 UTC
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>
1 parent d2dcba6
History
Tip revision: 2ed9926e16094ad143b96b09c64cba8bcba05ee1 authored by Patrick McHardy on 14 April 2008, 05:45:40 UTC
[NET]: Return more appropriate error from eth_validate_addr().
Tip revision: 2ed9926
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 644 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.4 KB
Kbuild -rw-r--r-- 1.6 KB
MAINTAINERS -rw-r--r-- 94.9 KB
Makefile -rw-r--r-- 52.8 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top