mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 01:21:58 +00:00
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
This commit is contained in:
commit
c337ffb68e
13 changed files with 70 additions and 45 deletions
|
@ -375,12 +375,12 @@ static void br_make_forwarding(struct net_bridge_port *p)
|
|||
if (p->state != BR_STATE_BLOCKING)
|
||||
return;
|
||||
|
||||
if (br->forward_delay == 0) {
|
||||
if (br->stp_enabled == BR_NO_STP || br->forward_delay == 0) {
|
||||
p->state = BR_STATE_FORWARDING;
|
||||
br_topology_change_detection(br);
|
||||
del_timer(&p->forward_delay_timer);
|
||||
}
|
||||
else if (p->br->stp_enabled == BR_KERNEL_STP)
|
||||
else if (br->stp_enabled == BR_KERNEL_STP)
|
||||
p->state = BR_STATE_LISTENING;
|
||||
else
|
||||
p->state = BR_STATE_LEARNING;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue