aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sched/cls_flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_flow.c b/net/sched/cls_flow.c
index 51ff19485e12..1d8bd0dbcd1f 100644
--- a/net/sched/cls_flow.c
+++ b/net/sched/cls_flow.c
@@ -285,7 +285,7 @@ static int flow_classify(struct sk_buff *skb, const struct tcf_proto *tp,
285 int r; 285 int r;
286 286
287 list_for_each_entry(f, &head->filters, list) { 287 list_for_each_entry(f, &head->filters, list) {
288 u32 keys[f->nkeys]; 288 u32 keys[FLOW_KEY_MAX + 1];
289 struct flow_keys flow_keys; 289 struct flow_keys flow_keys;
290 290
291 if (!tcf_em_tree_match(skb, &f->ematches, NULL)) 291 if (!tcf_em_tree_match(skb, &f->ematches, NULL))