aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/include/linux/tc_act/tc_pedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-headers/include/linux/tc_act/tc_pedit.h')
-rw-r--r--linux-headers/include/linux/tc_act/tc_pedit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-headers/include/linux/tc_act/tc_pedit.h b/linux-headers/include/linux/tc_act/tc_pedit.h
index f3e61b0..f5cab7f 100644
--- a/linux-headers/include/linux/tc_act/tc_pedit.h
+++ b/linux-headers/include/linux/tc_act/tc_pedit.h
@@ -62,7 +62,7 @@ struct tc_pedit_sel {
tc_gen;
unsigned char nkeys;
unsigned char flags;
- struct tc_pedit_key keys[0];
+ struct tc_pedit_key keys[] __counted_by(nkeys);
};
#define tc_pedit tc_pedit_sel