diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2013-02-07 00:27:17 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-08 17:42:19 -0500 |
commit | d166f218ff2bae0f6adae9ce5444a889a1d749e2 (patch) | |
tree | 08a91bb67333aaaab2760d531b9d525f0ef243ec /lib/bug.c | |
parent | e5e67305885eb12849b5475764b0542f03dc2b59 (diff) |
bgmac: validate (and random if needed) MAC addr
This adds check for a valid Ethernet MAC address and in case it is not,
it will generate a valid random one, such that the adapter is still
usable.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions