diff options
Diffstat (limited to 'net/bridge/br_stp.c')
-rw-r--r-- | net/bridge/br_stp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/bridge/br_stp.c b/net/bridge/br_stp.c index fcff62251547..4d651af57a90 100644 --- a/net/bridge/br_stp.c +++ b/net/bridge/br_stp.c | |||
@@ -363,6 +363,8 @@ static void br_make_blocking(struct net_bridge_port *p) | |||
363 | 363 | ||
364 | p->state = BR_STATE_BLOCKING; | 364 | p->state = BR_STATE_BLOCKING; |
365 | br_log_state(p); | 365 | br_log_state(p); |
366 | br_ifinfo_notify(RTM_NEWLINK, p); | ||
367 | |||
366 | del_timer(&p->forward_delay_timer); | 368 | del_timer(&p->forward_delay_timer); |
367 | } | 369 | } |
368 | } | 370 | } |
@@ -386,8 +388,8 @@ static void br_make_forwarding(struct net_bridge_port *p) | |||
386 | p->state = BR_STATE_LEARNING; | 388 | p->state = BR_STATE_LEARNING; |
387 | 389 | ||
388 | br_multicast_enable_port(p); | 390 | br_multicast_enable_port(p); |
389 | |||
390 | br_log_state(p); | 391 | br_log_state(p); |
392 | br_ifinfo_notify(RTM_NEWLINK, p); | ||
391 | 393 | ||
392 | if (br->forward_delay != 0) | 394 | if (br->forward_delay != 0) |
393 | mod_timer(&p->forward_delay_timer, jiffies + br->forward_delay); | 395 | mod_timer(&p->forward_delay_timer, jiffies + br->forward_delay); |