Message ID | 20231012085724.15155-4-fw@strlen.de (mailing list archive) |
---|---|
State | Accepted |
Commit | d51c42cdef5f961f63e39e172e4dfdcac54acd5e |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net,1/7] netfilter: nf_tables: do not remove elements if set backend implements .abort | expand |
diff --git a/net/netfilter/nft_set_pipapo.h b/net/netfilter/nft_set_pipapo.h index 25a75591583e..2e164a319945 100644 --- a/net/netfilter/nft_set_pipapo.h +++ b/net/netfilter/nft_set_pipapo.h @@ -147,7 +147,7 @@ struct nft_pipapo_match { unsigned long * __percpu *scratch; size_t bsize_max; struct rcu_head rcu; - struct nft_pipapo_field f[]; + struct nft_pipapo_field f[] __counted_by(field_count); }; /**