aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bridge/br_device.c')
-rw-r--r--net/bridge/br_device.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c
index be356293caa1..91dffe7574d6 100644
--- a/net/bridge/br_device.c
+++ b/net/bridge/br_device.c
@@ -51,6 +51,7 @@ static int br_dev_open(struct net_device *dev)
51 br_features_recompute(br); 51 br_features_recompute(br);
52 netif_start_queue(dev); 52 netif_start_queue(dev);
53 br_stp_enable_bridge(br); 53 br_stp_enable_bridge(br);
54 br_multicast_open(br);
54 55
55 return 0; 56 return 0;
56} 57}
@@ -61,7 +62,10 @@ static void br_dev_set_multicast_list(struct net_device *dev)
61 62
62static int br_dev_stop(struct net_device *dev) 63static int br_dev_stop(struct net_device *dev)
63{ 64{
64 br_stp_disable_bridge(netdev_priv(dev)); 65 struct net_bridge *br = netdev_priv(dev);
66
67 br_stp_disable_bridge(br);
68 br_multicast_stop(br);
65 69
66 netif_stop_queue(dev); 70 netif_stop_queue(dev);
67 71