X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=net%2Fsched%2Fcls_tcindex.c;h=403746b202637f35ac1cfca5026e703ce194bcf2;hb=7e2ad8b207f23a28cd3af7f0661fc1141c5a2375;hp=944c8ff450558ca1d5475a5581410b2d5b69e3be;hpb=db25f440f42eca380fcdb339f51cf73633e32485;p=firefly-linux-kernel-4.4.55.git diff --git a/net/sched/cls_tcindex.c b/net/sched/cls_tcindex.c index 944c8ff45055..403746b20263 100644 --- a/net/sched/cls_tcindex.c +++ b/net/sched/cls_tcindex.c @@ -503,7 +503,6 @@ static bool tcindex_destroy(struct tcf_proto *tp, bool force) walker.fn = tcindex_destroy_element; tcindex_walk(tp, &walker); - RCU_INIT_POINTER(tp->root, NULL); call_rcu(&p->rcu, __tcindex_destroy); return true; }