projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net, sched: respect rcu grace period on cls destruction
[firefly-linux-kernel-4.4.55.git]
/
net
/
sched
/
cls_tcindex.c
diff --git
a/net/sched/cls_tcindex.c
b/net/sched/cls_tcindex.c
index 944c8ff450558ca1d5475a5581410b2d5b69e3be..403746b202637f35ac1cfca5026e703ce194bcf2 100644
(file)
--- 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;
}