diff options
Diffstat (limited to 'net/sched/cls_tcindex.c')
-rw-r--r-- | net/sched/cls_tcindex.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sched/cls_tcindex.c b/net/sched/cls_tcindex.c index 96144bdf30db..0751245a6ace 100644 --- a/net/sched/cls_tcindex.c +++ b/net/sched/cls_tcindex.c | |||
@@ -543,7 +543,6 @@ static bool tcindex_destroy(struct tcf_proto *tp, bool force) | |||
543 | walker.fn = tcindex_destroy_element; | 543 | walker.fn = tcindex_destroy_element; |
544 | tcindex_walk(tp, &walker); | 544 | tcindex_walk(tp, &walker); |
545 | 545 | ||
546 | RCU_INIT_POINTER(tp->root, NULL); | ||
547 | call_rcu(&p->rcu, __tcindex_destroy); | 546 | call_rcu(&p->rcu, __tcindex_destroy); |
548 | return true; | 547 | return true; |
549 | } | 548 | } |