Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote: > static int nft_table_validate(struct net *net, const struct nft_table *table) > @@ -4044,6 +4060,7 @@ static int nft_table_validate(struct net *net, const struct nft_table *table) > struct nft_chain *chain; > struct nft_ctx ctx = { > .net = net, > + .table = (struct nft_table *)table, Patch LGTM but I think it would make more sense to remove the const qualifier from nft_table_validate() rather than this un-do. Aside from that: Reviewed-by: Florian Westphal <fw@xxxxxxxxx>