]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/sched/sch_api.c
net: sched: introduce tcf block infractructure
[mirror_ubuntu-artful-kernel.git] / net / sched / sch_api.c
index a3bcd972d940f1c7f996ec87d1595391e3e6314b..5d95401bbc021343cef1d8b094062ec8ddfcd85c 100644 (file)
@@ -163,7 +163,7 @@ int register_qdisc(struct Qdisc_ops *qops)
                if (!(cops->get && cops->put && cops->walk && cops->leaf))
                        goto out_einval;
 
-               if (cops->tcf_chain && !(cops->bind_tcf && cops->unbind_tcf))
+               if (cops->tcf_block && !(cops->bind_tcf && cops->unbind_tcf))
                        goto out_einval;
        }