Re: [PATCH v2] bpf: grab rcu read lock for bpf_percpu_hash_update

From: David Miller
Date: Fri Feb 19 2016 - 14:41:52 EST


From: Sasha Levin <sasha.levin@xxxxxxxxxx>
Date: Fri, 19 Feb 2016 13:53:10 -0500

> 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>

Applied, thanks.