pkt_sched: Fix sch_sfq vs tc_modify_qdisc oops
commit040862f9e0a57ae86ebbbd39452a9a16f2205e07
authorJarek Poplawski <jarkao2@gmail.com>
Tue, 10 Aug 2010 22:31:02 +0000 (10 22:31 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Aug 2010 23:43:49 +0000 (26 16:43 -0700)
tree7f5756fda69ceab07faf62f75d69031289919fbf
parent30b50aef739011ff91deb1e5e4e3e9dbc2b01be2
pkt_sched: Fix sch_sfq vs tc_modify_qdisc oops

[ Upstream commit 41065fba846e795b31b17e4dec01cb904d56c6cd ]

sch_sfq as a classful qdisc needs the .leaf handler. Otherwise, there
is an oops possible in tc_modify_qdisc()/check_loop().

Fixes commit 7d2681a6ff4f9ab5e48d02550b4c6338f1638998

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sched/sch_sfq.c