aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched')
-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 a02ca7298385..b93974c4570c 100644
--- a/net/sched/cls_tcindex.c
+++ b/net/sched/cls_tcindex.c
@@ -81,7 +81,7 @@ tcindex_lookup(struct tcindex_data *p, u16 key)
81static int tcindex_classify(struct sk_buff *skb, const struct tcf_proto *tp, 81static int tcindex_classify(struct sk_buff *skb, const struct tcf_proto *tp,
82 struct tcf_result *res) 82 struct tcf_result *res)
83{ 83{
84 struct tcindex_data *p = rcu_dereference(tp->root); 84 struct tcindex_data *p = rcu_dereference_bh(tp->root);
85 struct tcindex_filter_result *f; 85 struct tcindex_filter_result *f;
86 int key = (skb->tc_index & p->mask) >> p->shift; 86 int key = (skb->tc_index & p->mask) >> p->shift;
87 87