Thread (23 messages) flat view 23 messages, 8 authors, 2020-03-27

Re: [PATCH 5/8] netfilter: conntrack: Add missing annotations for nf_conntrack_all_lock() and nf_conntrack_all_unlock()

From: Pablo Neira Ayuso <pablo@netfilter.org>
Date: 2020-03-27 17:22:39
Also in: bpf, lkml, netfilter-devel

On Wed, Mar 11, 2020 at 01:09:05AM +0000, Jules Irenge wrote:
Sparse reports warnings at nf_conntrack_all_lock()
	and nf_conntrack_all_unlock()

warning: context imbalance in nf_conntrack_all_lock()
	- wrong count at exit
warning: context imbalance in nf_conntrack_all_unlock()
	- unexpected unlock

Add the missing __acquires(&nf_conntrack_locks_all_lock)
Add missing __releases(&nf_conntrack_locks_all_lock)
Also applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help