diff options
author | stephen hemminger <shemminger@vyatta.com> | 2011-07-22 07:47:09 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-22 17:01:12 -0700 |
commit | 4ecb961c8b474ebef5aff55f715c7875e69dd57b (patch) | |
tree | 32aff0d005ed0f5c810fc41a711e64ee6afae937 /net/bridge/br_netlink.c | |
parent | 56139fc5bd6e740706993ab3ad0d0aeff69a8479 (diff) |
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_netlink.c')
-rw-r--r-- | net/bridge/br_netlink.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bridge/br_netlink.c b/net/bridge/br_netlink.c index 6814083a92f..5b1ed1ba9aa 100644 --- a/net/bridge/br_netlink.c +++ b/net/bridge/br_netlink.c @@ -188,6 +188,8 @@ static int br_rtm_setlink(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) p->state = new_state; br_log_state(p); + br_ifinfo_notify(RTM_NEWLINK, p); + return 0; } |