[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f0d5133d-91af-19fd-19c5-aa0b879c1db8@iogearbox.net>
Date: Fri, 13 Mar 2020 20:49:03 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Jules Irenge <jbi.octave@...il.com>, boqun.feng@...il.com
Cc: linux-kernel@...r.kernel.org, bpf@...r.kernel.org,
netdev@...r.kernel.org, Alexei Starovoitov <ast@...nel.org>,
Martin KaFai Lau <kafai@...com>,
Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>,
Andrii Nakryiko <andriin@...com>
Subject: Re: [PATCH 1/8] bpf: Add missing annotations for __bpf_prog_enter()
and __bpf_prog_exit()
On 3/11/20 2:09 AM, Jules Irenge wrote:
> Sparse reports a warning at __bpf_prog_enter() and __bpf_prog_exit()
>
> warning: context imbalance in __bpf_prog_enter() - wrong count at exit
> warning: context imbalance in __bpf_prog_exit() - unexpected unlock
>
> The root cause is the missing annotation at __bpf_prog_enter()
> and __bpf_prog_exit()
>
> Add the missing __acquires(RCU) annotation
> Add the missing __releases(RCU) annotation
>
> Signed-off-by: Jules Irenge <jbi.octave@...il.com>
Applied this one to bpf-next, thanks!
Powered by blists - more mailing lists