net-sched: fix filter destruction in atm/hfsc qdisc destruction
authorPatrick McHardy <kaber@trash.net>
Wed, 2 Jul 2008 02:53:09 +0000 (19:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jul 2008 02:53:09 +0000 (19:53 -0700)
commita4aebb83cf0da0363684f1c339f7e6149a3e74c1
treeb009adf7577ff4822ede398b1a162374ce32fb81
parentff31ab56c0e900235f653e375fc3b01ba2d8d6a3
net-sched: fix filter destruction in atm/hfsc qdisc destruction

Filters need to be destroyed before beginning to destroy classes
since the destination class needs to still be alive to unbind the
filter.

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