14 lines
470 B
Diff
14 lines
470 B
Diff
|
diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c
|
||
|
index d6448e3..aadb596 100644
|
||
|
--- a/net/bridge/br_multicast.c
|
||
|
+++ b/net/bridge/br_multicast.c
|
||
|
@@ -269,7 +269,7 @@ static void br_multicast_del_pg(struct net_bridge *br,
|
||
|
del_timer(&p->timer);
|
||
|
call_rcu_bh(&p->rcu, br_multicast_free_pg);
|
||
|
|
||
|
- if (!mp->ports && !mp->mglist &&
|
||
|
+ if (!mp->ports && !mp->mglist && mp->timer_armed &&
|
||
|
netif_running(br->dev))
|
||
|
mod_timer(&mp->timer, jiffies);
|
||
|
|