diff options
author | Michal Soltys <soltys@ziu.info> | 2010-08-30 11:34:10 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-01 14:29:35 -0700 |
commit | 3b2eb6131e2f6ff646abb0fc69648179b8b70216 (patch) | |
tree | c868e5eadcccb39ad4d2731c21caccd3098eff56 /net | |
parent | 9c01ae58d4fee39e2af5b1379ee5431dd585cf62 (diff) |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/sched/sch_hfsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |