/* Remove all addresses that were added to the destination device by dev_unicast_sync(). This function is intended to be called from the dev->stop function of layered software devices.  */
void dev_unicast_unsync(struct net_device *to, struct net_device *from)
/* Remove all addresses that were added to the destination device by dev_unicast_sync(). This function is intended to be called from the dev->stop function of layered software devices.  */
void dev_unicast_unsync(struct net_device *to, struct net_device *from)
{
	if (to->addr_len != from->addr_len)
		return;
	netif_addr_lock_bh(from);
	netif_addr_lock(to);
	__hw_addr_unsync(&to->uc, &from->uc, to->addr_len);
	__dev_set_rx_mode(to);
	netif_addr_unlock(to);
	netif_addr_unlock_bh(from);
}