From: Konstantin Khlebnikov <khlebni...@yandex-team.ru> Date: Sat, 19 Aug 2017 15:37:07 +0300
> This important to call qdisc_tree_reduce_backlog() after changing queue > length. Parent qdisc should deactivate class in ->qlen_notify() called from > qdisc_tree_reduce_backlog() but this happens only if qdisc->q.qlen in zero. > > Missed class deactivations leads to crashes/warnings at picking packets > from empty qdisc and corrupting state at reactivating this class in future. > > Signed-off-by: Konstantin Khlebnikov <khlebni...@yandex-team.ru> > Fixes: 86a7996cc8a0 ("net_sched: introduce qdisc_replace() helper") Applied and queued up for -stable, thanks. Please do not add an explict "CC: stable" to networking patches, simply ask me to queue it up as I handle all networking -stable submissions myself by hand. Thank you.