aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2020-05-19 14:31:54 -0700
committerStephen Hemminger <stephen@networkplumber.org>2020-05-19 14:31:54 -0700
commit1c7aa121045c5e4de17b7e8a909c158c975b8578 (patch)
treed9c8e01ebd0c2e471a69a7316c9d540356e854e5
parentd7c67a6ed43f84022eda9d0fa818742c58e56ec7 (diff)
downloadiproute2-1c7aa121045c5e4de17b7e8a909c158c975b8578.tar.gz
uapi: update to bpf.h
Part of the zero-length array changes Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--include/uapi/linux/bpf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h
index 60684b7be..bc84f10a0 100644
--- a/include/uapi/linux/bpf.h
+++ b/include/uapi/linux/bpf.h
@@ -73,7 +73,7 @@ struct bpf_insn {
/* Key of an a BPF_MAP_TYPE_LPM_TRIE entry */
struct bpf_lpm_trie_key {
__u32 prefixlen; /* up to 32 for AF_INET, 128 for AF_INET6 */
- __u8 data[]; /* Arbitrary size */
+ __u8 data[0]; /* Arbitrary size */
};
struct bpf_cgroup_storage_key {