Re: [PATCH v2] bpf: grab rcu read lock for bpf_percpu_hash_update
From: Alexei Starovoitov
Date: Fri Feb 19 2016 - 13:56:34 EST
On Fri, Feb 19, 2016 at 01:53:10PM -0500, Sasha Levin wrote:
> bpf_percpu_hash_update() expects rcu lock to be held and warns if it's not,
> which pointed out a missing rcu read lock.
>
> Fixes: 15a07b338 ("bpf: add lookup/update support for per-cpu hash and array maps")
> Signed-off-by: Sasha Levin <sasha.levin@xxxxxxxxxx>
thank you.
Acked-by: Alexei Starovoitov <ast@xxxxxxxxxx>