Message ID | 8100ed4475ac7a301a3d69611e97d510ea498c5d.1283197803.git.soltys@ziu.info |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Michal Soltys <soltys@ziu.info> Date: Mon, 30 Aug 2010 23:34:10 +0200 > 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> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/sched/sch_hfsc.c b/net/sched/sch_hfsc.c index abd904b..4749609 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); } }
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> --- net/sched/sch_hfsc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)