]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit51e43c041c20554259eb7471b4dc7537dae41c50
treefbe25b8223c1fe8d2abc1e21cb4eb37fdb5ed7dc
parent8efa98337277ea66aea2e0cfa1c721f60e2c9c89
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 5b4bc11db4689c6a78d390df7daf9df491f16120

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