Skip to content
Permalink
Browse files

teamd: Do not remap zero delta hashes

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
  • Loading branch information...
jpirko committed Oct 5, 2012
1 parent 1ece5bd commit 498f6b567af4647345208f4d6058e1365a218488
Showing with 3 additions and 0 deletions.
  1. +3 −0 teamd/teamd_balancer.c
@@ -204,6 +204,9 @@ static int tb_rebalance(struct teamd_balancer *tb, struct team_handle *th)
tb_clear_rebalance_data(tb);

while ((tbhi = tb_get_biggest_unprocessed_hash(tb))) {
/* Do not remap zero delta hashes */
if (tbhi->tdport && !tb_stats_get_delta(&tbhi->stats))
continue;
tbpi = tb_get_least_loaded_port(tb);
if (!tbpi)
continue;

0 comments on commit 498f6b5

Please sign in to comment.
You can’t perform that action at this time.