|
@@ -428,7 +428,6 @@ static void br_make_forwarding(struct net_bridge_port *p)
|
|
|
else
|
|
|
br_set_state(p, BR_STATE_LEARNING);
|
|
|
|
|
|
- br_multicast_enable_port(p);
|
|
|
br_log_state(p);
|
|
|
br_ifinfo_notify(RTM_NEWLINK, p);
|
|
|
|
|
@@ -462,6 +461,8 @@ void br_port_state_selection(struct net_bridge *br)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ if (p->state != BR_STATE_BLOCKING)
|
|
|
+ br_multicast_enable_port(p);
|
|
|
if (p->state == BR_STATE_FORWARDING)
|
|
|
++liveports;
|
|
|
}
|