]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/sched/cls_basic.c
pkt_sched: sch_htb: Break all htb_do_events() after 2 jiffies
[karo-tx-linux.git] / net / sched / cls_basic.c
index 956915c217d6dbc8599b3fa8248eedb8914160a3..4e2bda854119bf87391dc89a3cda8ce44810c5a0 100644 (file)
@@ -102,7 +102,7 @@ static inline void basic_delete_filter(struct tcf_proto *tp,
 
 static void basic_destroy(struct tcf_proto *tp)
 {
-       struct basic_head *head = (struct basic_head *) xchg(&tp->root, NULL);
+       struct basic_head *head = tp->root;
        struct basic_filter *f, *n;
 
        list_for_each_entry_safe(f, n, &head->flist, link) {