From: Michal Soltys Date: Mon, 30 Aug 2010 11:34:10 +0000 (+0000) Subject: net/sched/sch_hfsc.c: initialize parent's cl_cfmin properly in init_vf() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3b2eb6131e2f6ff646abb0fc69648179b8b70216;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David S. Miller --- diff --git a/net/sched/sch_hfsc.c b/net/sched/sch_hfsc.c index abd904be4287..47496098d35c 100644 --- a/net/sched/sch_hfsc.c +++ b/net/sched/sch_hfsc.c @@ -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); } }