[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220510192019.2f02057b@kernel.org>
Date: Tue, 10 May 2022 19:20:19 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Pablo Neira Ayuso <pablo@...filter.org>
Cc: netfilter-devel@...r.kernel.org, davem@...emloft.net,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next 01/17] netfilter: ecache: use dedicated list
for event redelivery
On Tue, 10 May 2022 14:21:34 +0200 Pablo Neira Ayuso wrote:
> +next:
> + sent = 0;
> + spin_lock_bh(&cnet->ecache.dying_lock);
> +
> + hlist_nulls_for_each_entry_safe(h, n, &cnet->ecache.dying_list, hnnode) {
...
> + if (sent++ > 16) {
> + spin_unlock_bh(&cnet->ecache.dying_lock);
> + cond_resched();
> + spin_lock_bh(&cnet->ecache.dying_lock);
> + goto next;
sparse seems right, the looking looks off in this function
Powered by blists - more mailing lists