diff options
Diffstat (limited to 'net/bridge/br_stp_if.c')
-rw-r--r-- | net/bridge/br_stp_if.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/bridge/br_stp_if.c b/net/bridge/br_stp_if.c index 1c1806d7c489..3e246b37020e 100644 --- a/net/bridge/br_stp_if.c +++ b/net/bridge/br_stp_if.c | |||
@@ -87,7 +87,6 @@ void br_stp_disable_bridge(struct net_bridge *br) | |||
87 | void br_stp_enable_port(struct net_bridge_port *p) | 87 | void br_stp_enable_port(struct net_bridge_port *p) |
88 | { | 88 | { |
89 | br_init_port(p); | 89 | br_init_port(p); |
90 | br_ifinfo_notify(RTM_NEWLINK, p); | ||
91 | br_port_state_selection(p->br); | 90 | br_port_state_selection(p->br); |
92 | } | 91 | } |
93 | 92 | ||
@@ -101,8 +100,6 @@ void br_stp_disable_port(struct net_bridge_port *p) | |||
101 | printk(KERN_INFO "%s: port %i(%s) entering %s state\n", | 100 | printk(KERN_INFO "%s: port %i(%s) entering %s state\n", |
102 | br->dev->name, p->port_no, p->dev->name, "disabled"); | 101 | br->dev->name, p->port_no, p->dev->name, "disabled"); |
103 | 102 | ||
104 | br_ifinfo_notify(RTM_DELLINK, p); | ||
105 | |||
106 | wasroot = br_is_root_bridge(br); | 103 | wasroot = br_is_root_bridge(br); |
107 | br_become_designated_port(p); | 104 | br_become_designated_port(p); |
108 | p->state = BR_STATE_DISABLED; | 105 | p->state = BR_STATE_DISABLED; |