Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 369903
b: refs/heads/master
c: 91bc033
h: refs/heads/master
i:
  369901: ccab770
  369899: a2f727a
  369895: 80fb3f3
  369887: d9cb189
v: v3
  • Loading branch information
stephen hemminger authored and David S. Miller committed Apr 30, 2013
1 parent f00c105 commit c510b4c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7dcf313a7a68adc9a060e4e41a55245c0f9a3d31
refs/heads/master: 91bc033c4d01656e3d8e45a13fd58924a3099693
9 changes: 8 additions & 1 deletion trunk/net/bridge/br_stp.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,14 @@ static void br_record_config_timeout_values(struct net_bridge *br,
/* called under bridge lock */
void br_transmit_tcn(struct net_bridge *br)
{
br_send_tcn_bpdu(br_get_port(br, br->root_port));
struct net_bridge_port *p;

p = br_get_port(br, br->root_port);
if (p)
br_send_tcn_bpdu(p);
else
br_notice(br, "root port %u not found for topology notice\n",
br->root_port);
}

/* called under bridge lock */
Expand Down

0 comments on commit c510b4c

Please sign in to comment.