On 04.08, Pablo Neira Ayuso wrote: > -#define NFT_SET_INACTIVE (1 << 15) > +static inline bool > +nft_set_is_active(struct net *net, const struct nft_set *set) > +{ > + return (set->genmask & nft_genmask_cur(net)) == 0; > +} Do we really want this set of basic functions for every object type? There will still be cases where we need to open code the checks anyway, f.i. iterators and callbacks. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html