On Fri, 2 Oct 2020 14:22:05 -0700 Jakub Kicinski wrote: > > > Forgot the link ... > > > > > > https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git/log/?h=genetlink-op-policy-export > > > > > > > If it's not too late for you - do you want to merge the two series and > > post everything together? Perhaps squashing patch 10 into something if > > that makes sense? > > > > You already seem to have it rebased.
After double checking your tree has @policy in the wrong kdoc. Let me post the first 9 patches and please squash patch 10 into your series. > FWIW earlier I said: > > if ((op.doit && nla_put_u32(skb, CTRL_whatever_DO, idx)) || > (op.dumpit && nla_put_u32(skb, CTRL_whatever_DUMP, idx))) > goto nla_put_failure; > > - we should probably also check GENL_DONT_VALIDATE_DUMP here?