aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/macvlan.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2013-01-01 03:30:19 +0000
committerDavid S. Miller <davem@davemloft.net>2013-01-03 22:37:36 -0800
commit04e406dcc54cfd84d333ea673fa986fb5a1840e7 (patch)
tree07a98d71770a7c61369df1600ec0977dffc8bc6c /drivers/net/macvlan.c
parentum: net: use eth_hw_addr_random() to generate random mac (diff)
downloadlinux-dev-04e406dcc54cfd84d333ea673fa986fb5a1840e7.tar.xz
linux-dev-04e406dcc54cfd84d333ea673fa986fb5a1840e7.zip
ll_temac: fix mac address setting
Previously, when invalid address was passed to ndo_set_mac_address, random mac was generated and set. Fix this by returning -EADDRNOTAVAIL in this situation. Also polish the code around a bit. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macvlan.c')
0 files changed, 0 insertions, 0 deletions