net: use eth_hw_addr_set() instead of ether_addr_copy()
[linux-2.6-microblaze.git] / drivers / net / ipvlan / ipvlan_main.c
index cca4a00..1d2f4e7 100644 (file)
@@ -787,7 +787,7 @@ static int ipvlan_device_event(struct notifier_block *unused,
 
        case NETDEV_CHANGEADDR:
                list_for_each_entry(ipvlan, &port->ipvlans, pnode) {
-                       ether_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;