Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote: > > + if (iter->count < iter->skip) { > > + iter->count++; > > + continue; > > + } > > 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) ... > > + switch (iter->type) { > > + case NFT_ITER_UPDATE: ... here?