[NET_SCHED] sch_cbq: deactivating when grafting, purging etc.
authorJarek Poplawski <jarkao2@o2.pl>
Fri, 8 Dec 2006 08:25:55 +0000 (00:25 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sat, 9 Dec 2006 01:19:31 +0000 (17:19 -0800)
commita37ef2e3258d65e43ec876233bba0b288a9d3260
tree121a4bfc31c94c5f1c09d964247f37112b4c3017
parent93366c537b3426261cac4db27acc10a99cd91b06
[NET_SCHED] sch_cbq: deactivating when grafting, purging etc.

- deactivating of active classes when q.qlen drops to zero
  (cbq_drop)

- a redundant instruction removed from cbq_deactivate_class

PS: probably htb_deactivate in htb_delete and
cbq_deactivate_class in cbq_delete are also
redundant now.

Signed-off-by: Jarek Poplawski <jarkao2@o2.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_cbq.c