summaryrefslogtreecommitdiff
path: root/net/bridge/br_stp_timer.c
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2011-07-22 11:47:09 +0400
committerDavid S. Miller <davem@davemloft.net>2011-07-23 04:01:12 +0400
commit4ecb961c8b474ebef5aff55f715c7875e69dd57b (patch)
tree32aff0d005ed0f5c810fc41a711e64ee6afae937 /net/bridge/br_stp_timer.c
parent56139fc5bd6e740706993ab3ad0d0aeff69a8479 (diff)
downloadlinux-4ecb961c8b474ebef5aff55f715c7875e69dd57b.tar.xz
bridge: add notification over netlink when STP changes state
When STP changes state of interface need to send a new link message to reflect that change. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_stp_timer.c')
-rw-r--r--net/bridge/br_stp_timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_stp_timer.c b/net/bridge/br_stp_timer.c
index 3e965140051e..58de2a0f9975 100644
--- a/net/bridge/br_stp_timer.c
+++ b/net/bridge/br_stp_timer.c
@@ -97,6 +97,7 @@ static void br_forward_delay_timer_expired(unsigned long arg)
netif_carrier_on(br->dev);
}
br_log_state(p);
+ br_ifinfo_notify(RTM_NEWLINK, p);
spin_unlock(&br->lock);
}