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)
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>

No differences found