Re: [PATCH v2] netfilter: nf_tables: replace unnecessary use of list_for_each_entry_continue()

From: Pablo Neira Ayuso
Date: Tue Apr 05 2022 - 18:54:55 EST

On Tue, Mar 22, 2022 at 11:56:44AM +0100, Jakob Koschel wrote:
> Since there is no way for list_for_each_entry_continue() to start
> interating in the middle of the list they can be replaced with a call
> to list_for_each_entry().
> In preparation to limit the scope of the list iterator to the list
> traversal loop, the list iterator variable 'rule' should not be used
> past the loop.

Applied to nf-next, thanks