]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb6d64c8dea44adc3ffa3b55e5fe770b5e684406d
treea7236e97a07c46ab8360532abedde9bd96b72032
parente3b793b83bd61c752ce9dd87f7776ddf6334d335
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 5b4bc11db4689c6a78d390df7daf9df491f16120
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