]> Pileus Git - ~andy/linux/blobdiff - net/sched/cls_route.c
Bluetooth: Enable per-module dynamic debug messages
[~andy/linux] / net / sched / cls_route.c
index e3d8455eebc29c32d37a5b2c943c07de1573b0e1..bdf1f4172eef5a7d13783e4192babb10ff526726 100644 (file)
@@ -260,7 +260,7 @@ route4_delete_filter(struct tcf_proto *tp, struct route4_filter *f)
 
 static void route4_destroy(struct tcf_proto *tp)
 {
-       struct route4_head *head = xchg(&tp->root, NULL);
+       struct route4_head *head = tp->root;
        int h1, h2;
 
        if (head == NULL)