]> git.ipfire.org Git - people/arne_f/kernel.git/commit
Fix TEQL oops.
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>
Tue, 13 Nov 2007 08:07:45 +0000 (00:07 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Nov 2007 17:25:54 +0000 (09:25 -0800)
commit2d23541246308b5d2867c6592ad2b09e9a1ae344
treec47c781c3c948fd120ba4eaaae402e0ba564aa64
parent5263c68d8f067f8bc4f6dd8bfb4ceb547d60fe7c
Fix TEQL oops.

[PKT_SCHED]: Fix OOPS when removing devices from a teql queuing discipline

[ Upstream commit: 4f9f8311a08c0d95c70261264a2b47f2ae99683a ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sched/sch_teql.c