diff --git a/net/core/sock_map.c b/net/core/sock_map.c index 085cef5857bbf..3a7a96ab088a2 100644 --- a/net/core/sock_map.c +++ b/net/core/sock_map.c @@ -518,7 +518,7 @@ struct bpf_htab_elem { u32 hash; struct sock *sk; struct hlist_node node; - u8 key[0]; + u8 key[]; }; struct bpf_htab_bucket {