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

From: Daniel Borkmann
Date: Fri Feb 19 2016 - 14:02:27 EST


On 02/19/2016 07:53 PM, 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>

LGTM, patch is against net-next tree.

Acked-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx>