Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote: > diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c > index 33045a5..43ae487 100644 > --- a/net/netfilter/nf_tables_api.c > +++ b/net/netfilter/nf_tables_api.c > @@ -1946,7 +1946,8 @@ static const struct nft_set_ops *nft_select_set_ops(const struct nlattr * const > > static const struct nla_policy nft_set_policy[NFTA_SET_MAX + 1] = { > [NFTA_SET_TABLE] = { .type = NLA_STRING }, > - [NFTA_SET_NAME] = { .type = NLA_STRING }, > + [NFTA_SET_NAME] = { .type = NLA_STRING, > + .len = IFNAMSIZ - 1 }, Not related to your patch, but it looks to me as if all of these should be NLA_NUL_STRING, no? -- 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