VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / net / sched / sch_dsmark.c
index 92e9f33..e0831a4 100644 (file)
@@ -30,7 +30,7 @@
 #endif
 
 
-#define PRIV(sch) ((struct dsmark_qdisc_data *) (sch)->data)
+#define PRIV(sch) qdisc_priv(sch)
 
 
 /*
@@ -383,7 +383,6 @@ static void dsmark_destroy(struct Qdisc *sch)
                tcf_destroy(tp);
        }
        qdisc_destroy(p->q);
-       p->q = &noop_qdisc;
        kfree(p->mask);
 }