]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/sched/sch_api.c
iwlwifi: move iwl_sta_modify_enable_tid_tx to iwl-sta.c
[linux-2.6-omap-h63xx.git] / net / sched / sch_api.c
index 15b91a9ee8e83af22fb8edcd475b8ba94ce3e8da..c40773cdbe45466c8bead7bfd58c0fde73fc6c76 100644 (file)
@@ -386,6 +386,9 @@ void qdisc_tree_decrease_qlen(struct Qdisc *sch, unsigned int n)
        if (n == 0)
                return;
        while ((parentid = sch->parent)) {
+               if (TC_H_MAJ(parentid) == TC_H_MAJ(TC_H_INGRESS))
+                       return;
+
                sch = qdisc_lookup(sch->dev, TC_H_MAJ(parentid));
                if (sch == NULL) {
                        WARN_ON(parentid != TC_H_ROOT);