projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: use eth_hw_addr_set() instead of ether_addr_copy()
[linux-2.6-microblaze.git]
/
drivers
/
net
/
ipvlan
/
ipvlan_main.c
diff --git
a/drivers/net/ipvlan/ipvlan_main.c
b/drivers/net/ipvlan/ipvlan_main.c
index
cca4a00
..
1d2f4e7
100644
(file)
--- a/
drivers/net/ipvlan/ipvlan_main.c
+++ b/
drivers/net/ipvlan/ipvlan_main.c
@@
-787,7
+787,7
@@
static int ipvlan_device_event(struct notifier_block *unused,
case NETDEV_CHANGEADDR:
list_for_each_entry(ipvlan, &port->ipvlans, pnode) {
- eth
er_addr_copy(ipvlan->dev->dev_addr
, dev->dev_addr);
+ eth
_hw_addr_set(ipvlan->dev
, dev->dev_addr);
call_netdevice_notifiers(NETDEV_CHANGEADDR, ipvlan->dev);
}
break;