]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/sched/cls_matchall.c
net, sched: respect rcu grace period on cls destruction
[karo-tx-linux.git] / net / sched / cls_matchall.c
index 25927b6c4436775a0d80747f7171ddc3d6896dfd..f935429bd5ef1fcbe6a4272876b76e2ebb574c4b 100644 (file)
@@ -114,7 +114,6 @@ static bool mall_destroy(struct tcf_proto *tp, bool force)
 
                call_rcu(&f->rcu, mall_destroy_filter);
        }
-       RCU_INIT_POINTER(tp->root, NULL);
        kfree_rcu(head, rcu);
        return true;
 }