aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sched/cls_tcindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_tcindex.c b/net/sched/cls_tcindex.c
index ee525426b3d4..5054fae33a48 100644
--- a/net/sched/cls_tcindex.c
+++ b/net/sched/cls_tcindex.c
@@ -381,7 +381,7 @@ tcindex_set_parms(struct net *net, struct tcf_proto *tp, unsigned long base,
381 f->result = new_filter_result; 381 f->result = new_filter_result;
382 f->next = NULL; 382 f->next = NULL;
383 383
384 fp = p->h + (handle % p->hash); 384 fp = cp->h + (handle % cp->hash);
385 for (nfp = rtnl_dereference(*fp); 385 for (nfp = rtnl_dereference(*fp);
386 nfp; 386 nfp;
387 fp = &nfp->next, nfp = rtnl_dereference(*fp)) 387 fp = &nfp->next, nfp = rtnl_dereference(*fp))