Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b2eb613 authored by Michal Soltys's avatar Michal Soltys Committed by David S. Miller
Browse files

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: default avatarMichal Soltys <soltys@ziu.info>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9c01ae58
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
	}
}