Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194581
b: refs/heads/master
c: 83f6a74
h: refs/heads/master
i:
  194579: b51035e
v: v3
  • Loading branch information
stephen hemminger authored and David S. Miller committed Apr 28, 2010
1 parent 2d3e57f commit 2051fc3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: 168d40ee3d147ae20860e7916bd79b636cbe8fd5
refs/heads/master: 83f6a740b4e52f88e312223df2fc94016a208618
4 changes: 2 additions & 2 deletions trunk/net/bridge/br_forward.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ static void br_multicast_flood(struct net_bridge_mdb_entry *mdst,
prev = NULL;

rp = rcu_dereference(br->router_list.first);
p = mdst ? mdst->ports : NULL;
p = mdst ? rcu_dereference(mdst->ports) : NULL;
while (p || rp) {
lport = p ? p->port : NULL;
rport = rp ? hlist_entry(rp, struct net_bridge_port, rlist) :
Expand All @@ -231,7 +231,7 @@ static void br_multicast_flood(struct net_bridge_mdb_entry *mdst,
goto out;

if ((unsigned long)lport >= (unsigned long)port)
p = p->next;
p = rcu_dereference(p->next);
if ((unsigned long)rport >= (unsigned long)port)
rp = rcu_dereference(rp->next);
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/bridge/br_multicast.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ static void br_multicast_del_pg(struct net_bridge *br,
if (p != pg)
continue;

*pp = p->next;
rcu_assign_pointer(*pp, p->next);
hlist_del_init(&p->mglist);
del_timer(&p->timer);
del_timer(&p->query_timer);
Expand Down

0 comments on commit 2051fc3

Please sign in to comment.