Florian Westphal <fw@xxxxxxxxx> wrote: > > Not causing any harm, but is iter->count useful for this > > NFT_ITER_UPDATE variant? > > > > I think iter->count is only used for netlink dumps, to resume from the > > last netlink message. > > Yes. Should I just remove the above or also add a WARN_ON_ONCE(iter->skip) ... FTR, I removed the iterator and placed the WARN_ON_ONCE > > > + switch (iter->type) { > > > + case NFT_ITER_UPDATE: here, then pushed this to nf-next:testing.