Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103524
b: refs/heads/master
c: 08d2cf0
h: refs/heads/master
v: v3
  • Loading branch information
Allan Stephens authored and David S. Miller committed Jul 15, 2008
1 parent 82e6035 commit aed7f2e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 0e35fd5e5264bb46d1febbe9cd9aa08421c21a96
refs/heads/master: 08d2cf0f74b3ee5e773bb906043a0efe96ded229
6 changes: 4 additions & 2 deletions trunk/net/tipc/name_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -710,9 +710,11 @@ int tipc_nametbl_mc_translate(u32 type, u32 lower, u32 upper, u32 limit,
if (sseq->lower > upper)
break;
publ = sseq->cluster_list;
if (publ && (publ->scope <= limit))
if (publ)
do {
if (publ->node == tipc_own_addr)
if (publ->scope > limit)
/* ignore out-of-scope publication */ ;
else if (publ->node == tipc_own_addr)
tipc_port_list_add(dports, publ->ref);
else
res = 1;
Expand Down

0 comments on commit aed7f2e

Please sign in to comment.