forked from Minki/linux
net/sched/sch_hfsc.c: initialize parent's cl_cfmin properly in init_vf()
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 <soltys@ziu.info> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9c01ae58d4
commit
3b2eb6131e
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user