aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/bridge/br_multicast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c
index a1ffe1582c9a..12ce1eaa4f3e 100644
--- a/net/bridge/br_multicast.c
+++ b/net/bridge/br_multicast.c
@@ -1135,7 +1135,7 @@ void br_multicast_stop(struct net_bridge *br)
1135 1135
1136 if (mdb->old) { 1136 if (mdb->old) {
1137 spin_unlock_bh(&br->multicast_lock); 1137 spin_unlock_bh(&br->multicast_lock);
1138 synchronize_rcu_bh(); 1138 rcu_barrier_bh();
1139 spin_lock_bh(&br->multicast_lock); 1139 spin_lock_bh(&br->multicast_lock);
1140 WARN_ON(mdb->old); 1140 WARN_ON(mdb->old);
1141 } 1141 }