Ejemplo n.º 1
0
static int br_dev_open(struct net_device *dev)
{
	netif_start_queue(dev);

	br_stp_enable_bridge(dev->priv);

	return 0;
}
Ejemplo n.º 2
0
static int br_dev_open(struct net_device *dev)
{
	struct net_bridge *br = netdev_priv(dev);

	br_features_recompute(br);
	netif_start_queue(dev);
	br_stp_enable_bridge(br);

	return 0;
}
Ejemplo n.º 3
0
static int br_dev_open(struct net_device *dev)
{
	struct net_bridge *br;

	netif_start_queue(dev);

	br = dev->priv;
	read_lock(&br->lock);
	br_stp_enable_bridge(br);
	read_unlock(&br->lock);

	return 0;
}