pkt_sched: Fix sch_sfq vs tc_modify_qdisc oops
authorJarek Poplawski <jarkao2@gmail.com>
Tue, 10 Aug 2010 22:31:02 +0000 (22:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Aug 2010 08:36:59 +0000 (01:36 -0700)
commit41065fba846e795b31b17e4dec01cb904d56c6cd
treefbe25b8223c1fe8d2abc1e21cb4eb37fdb5ed7dc
parent98a21ef0abb666eeb12cf67e60203befb07e4210
pkt_sched: Fix sch_sfq vs tc_modify_qdisc oops

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>
net/sched/sch_sfq.c