Skip to content

Commit

Permalink
net/sched/sch_hfsc.c: initialize parent's cl_cfmin properly in init_vf()
Browse files Browse the repository at this point in the history
This patch fixes init_vf() function, so on each new backlog period parent's
cl_cfmin is properly updated (including further propgation towards the root),
even if the activated leaf has no upperlimit curve defined.

Signed-off-by: Michal Soltys <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
msoltyspl authored and davem330 committed Sep 1, 2010
1 parent 9c01ae5 commit 3b2eb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sched/sch_hfsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -761,8 +761,8 @@ init_vf(struct hfsc_class *cl, unsigned int len)
if (f != cl->cl_f) {
cl->cl_f = f;
cftree_update(cl);
update_cfmin(cl->cl_parent);
}
update_cfmin(cl->cl_parent);
}
}

Expand Down

0 comments on commit 3b2eb61

Please sign in to comment.