[PKT_SCHED]: Fix OOPS when removing devices from a teql queuing discipline
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>
Tue, 6 Nov 2007 11:08:09 +0000 (03:08 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 7 Nov 2007 12:09:17 +0000 (04:09 -0800)
commit4f9f8311a08c0d95c70261264a2b47f2ae99683a
tree4bb68c56e60535f40415077462223fd64f920f31
parentc62cf5cb173a5b8446e513a14448460cad435db2
[PKT_SCHED]: Fix OOPS when removing devices from a teql queuing discipline

tecl_reset() is called from deactivate and qdisc is set to noop already,
but subsequent teql_xmit does not know about it and dereference private
data as teql qdisc and thus oopses.
not catch it first :)

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_teql.c