summaryrefslogtreecommitdiff
path: root/include/uapi/linux/tc_act/tc_pedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/tc_act/tc_pedit.h')
-rw-r--r--include/uapi/linux/tc_act/tc_pedit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/tc_act/tc_pedit.h b/include/uapi/linux/tc_act/tc_pedit.h
index f3e61b04fa01..f5cab7fc96ab 100644
--- a/include/uapi/linux/tc_act/tc_pedit.h
+++ b/include/uapi/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