pkt_sched: Fix sch_sfq vs tcf_bind_filter oops
authorJarek Poplawski <jarkao2@gmail.com>
Fri, 6 Aug 2010 00:22:35 +0000 (00:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Aug 2010 05:45:41 +0000 (22:45 -0700)
commiteb4a5527b1f0d581ac217c80ef3278ed5e38693c
treea7236e97a07c46ab8360532abedde9bd96b72032
parentcece1945bffcf1a823cdfa36669beae118419351
pkt_sched: Fix sch_sfq vs tcf_bind_filter oops

Since there was added ->tcf_chain() method without ->bind_tcf() to
sch_sfq class options, there is oops when a filter is added with
the classid parameter.

Fixes commit 7d2681a6ff4f9ab5e48d02550b4c6338f1638998
netdev thread: null pointer at cls_api.c

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