Thread (13 messages) 13 messages, 2 authors, 2021-08-06

Re: [PATCH net 3/9] netfilter: conntrack: collect all entries in one cycle

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-08-06 13:28:02
Also in: netfilter-devel

On Fri,  6 Aug 2021 13:52:01 +0200 Pablo Neira Ayuso wrote:
 		rcu_read_lock();
 
 		nf_conntrack_get_ht(&ct_hash, &hashsz);
 		if (i >= hashsz)
-			i = 0;
+			break;
Sparse says there is a missing rcu_read_unlock() here.
Please follow up on this one.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help