Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255919
b: refs/heads/master
c: 8af4638
h: refs/heads/master
i:
  255917: 53dfea2
  255915: 3ecbef8
  255911: a1d6014
  255903: 6c36b81
v: v3
  • Loading branch information
Allan Stephens authored and Paul Gortmaker committed Jun 24, 2011
1 parent 688878b commit e53b928
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: f6f0a4d2d05f758f011a506731e84160d140304b
refs/heads/master: 8af4638a297b43c4929fdc01456b7f0698de0c0e
7 changes: 2 additions & 5 deletions trunk/net/tipc/name_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -574,14 +574,13 @@ u32 tipc_nametbl_translate(u32 type, u32 instance, u32 *destnode)
cluster_list);
list_move_tail(&publ->cluster_list,
&info->cluster_list);
} else if (!list_empty(&info->zone_list)) {
} else {
publ = list_first_entry(&info->zone_list,
struct publication,
zone_list);
list_move_tail(&publ->zone_list,
&info->zone_list);
} else
goto no_match;
}
}

/* Round-Robin Algorithm: */
Expand All @@ -598,8 +597,6 @@ u32 tipc_nametbl_translate(u32 type, u32 instance, u32 *destnode)
cluster_list);
list_move_tail(&publ->cluster_list, &info->cluster_list);
} else {
if (list_empty(&info->zone_list))
goto no_match;
publ = list_first_entry(&info->zone_list, struct publication,
zone_list);
list_move_tail(&publ->zone_list, &info->zone_list);
Expand Down

0 comments on commit e53b928

Please sign in to comment.