commit | 21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 | [log] [tgz] |
---|---|---|
author | Konstantin Khlebnikov <khlebnikov@yandex-team.ru> | Wed Sep 20 15:46:11 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 21 11:56:32 2017 -0700 |
tree | b6d820299994336c14458d8a198a1cb9fce79730 | |
parent | c8e1812960eeae42e2183154927028511c4bc566 [diff] |
net_sched/hfsc: fix curve activation in hfsc_change_class() If real-time or fair-share curves are enabled in hfsc_change_class() class isn't inserted into rb-trees yet. Thus init_ed() and init_vf() must be called in place of update_ed() and update_vf(). Remove isn't required because for now curves cannot be disabled. Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Signed-off-by: David S. Miller <davem@davemloft.net>