char addr[sizeof("255.255.255.255\0")]; 
static int uml_net_open(struct net_device *dev){	struct uml_net_private *lp = dev->priv;	char addr[sizeof("255.255.255.255\0")];	int err;	spin_lock(&lp->lock);	if(lp->fd >= 0){		err = -ENXIO;		goto out;	}	if(!lp->have_mac){ 		dev_ip_addr(dev, addr, &lp->mac[2]); 		set_ether_mac(dev, lp->mac);	}	lp->fd = (*lp->open)(&lp->user);	if(lp->fd < 0){		err = lp->fd;		goto out;	}	err = um_request_irq(dev->irq, lp->fd, IRQ_READ, uml_net_interrupt,			     SA_INTERRUPT | SA_SHIRQ, dev->name, dev);	if(err != 0){		printk(KERN_ERR "uml_net_open: failed to get irq(%d)\n", err);		if(lp->close != NULL) (*lp->close)(lp->fd, &lp->user);		lp->fd = -1;		err = -ENETUNREACH;	}	lp->tl.data = (unsigned long) &lp->user;	netif_start_queue(dev);	/* clear buffer - it can happen that the host side of the interface	 * is full when we get here.  In this case, new data is never queued,	 * SIGIOs never arrive, and the net never works.	 */	while((err = uml_net_rx(dev)) > 0) ; out:	spin_unlock(&lp->lock);	return(err);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/0e76422ca5f34bb43b97c0945646ef072bcc1776/net_kern.c/clean/arch/um/drivers/net_kern.c