diff options
-rw-r--r-- | net/sched/cls_tcindex.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/sched/cls_tcindex.c b/net/sched/cls_tcindex.c index b93974c4570c..dd2d691f0bbb 100644 --- a/net/sched/cls_tcindex.c +++ b/net/sched/cls_tcindex.c | |||
@@ -260,10 +260,7 @@ tcindex_set_parms(struct net *net, struct tcf_proto *tp, unsigned long base, | |||
260 | } | 260 | } |
261 | cp->h = p->h; | 261 | cp->h = p->h; |
262 | 262 | ||
263 | memset(&new_filter_result, 0, sizeof(new_filter_result)); | 263 | tcindex_filter_result_init(&new_filter_result); |
264 | tcf_exts_init(&new_filter_result.exts, | ||
265 | TCA_TCINDEX_ACT, TCA_TCINDEX_POLICE); | ||
266 | |||
267 | tcindex_filter_result_init(&cr); | 264 | tcindex_filter_result_init(&cr); |
268 | if (old_r) | 265 | if (old_r) |
269 | cr.res = r->res; | 266 | cr.res = r->res; |