Re: [PATCH net-next 01/17] netfilter: ecache: use dedicated list for event redelivery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux