Re: [PATCH] e1000, e1000e valid-addr fixes

Stephen Hemminger
2007-11-01T18:13:57Z

How about:

static int eth_validate_addr(const struct net_device *dev)
{
return is_valid_ether_addr(dev->dev_addr) ? 0 : -EINVAL;
}

--
Stephen Hemminger <shemminger@linux-foundation.org>