[NET_SCHED]: HFSC: fix thinko in hfsc_adjust_levels()
authorPatrick McHardy <kaber@trash.net>
Thu, 11 May 2006 19:22:03 +0000 (12:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 May 2006 19:22:03 +0000 (12:22 -0700)
commit210525d65d33d17eb6bea6c965ce442d60d9aa8d
tree951e5e4ceef5d7b4bfef693a3c291f756a74bf82
parentb0013fd47b14fc26eec07a6b2cec0c2a8954e1d7
[NET_SCHED]: HFSC: fix thinko in hfsc_adjust_levels()

When deleting the last child the level of a class should drop to zero.

Noticed by Andreas Mueller <andreas@stapelspeicher.org>

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_hfsc.c